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
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.