1

When I call the pallet extrinsic bond_and_stake, the Event BondAndStake gets triggered. But when I call it through the chain extension method from my ink smart contract message, the event does not trigger, which leads me to believe that it didn't reach the pallet extrinsic function.

1 Answer 1

1

The problem was fixed by changing the parameter in the build method to 0x10001. The indexes of the chain extension and function id were not correct.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.