-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Description
Hello guys,
When doing the following:
const unsigned = methods.balances.transferKeepAlive(
{
value: '1000000000000000000',
dest: { id: '5DNs2sarEnjif92dAqkkgkcKCzEL7VXYajopoKWDd2zjmsKH' }, // Bob
},
{
address: deriveAddress(alice.publicKey, PolkadotSS58Format.polkadot),
blockHash: genesisHash,
blockNumber: 0,
genesisHash,
metadataRpc,
nonce: 3, // Assuming this is Alice's first tx on the chain
specVersion,
tip: 0,
transactionVersion,
},
{
metadataRpc: metadataRpc,
registry: registry,
isImmortalEra: true,
}
);
I get the following error:
Error: createType(MortalEra):: Invalid data passed to Mortal era
Am I doing something wrong? Are we suppose to change other parts and not only the isImmortalEra arg?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels