Scripts for reproducing "Failed to derive correct actions hash". Seems like this.sender.getAndRequireSignature() is the issue. Here we provide two contracts:
- Dispatch actions with current sender (with this.sender.getAndRequireSignature()). It's fails.
- Dispatch actions with predefined sender. It run succesfully.
Issue ocured when 3 or more transactions with actions gets into one block.
npm install
npm run buildIf you do not have lightnetDeployer, run
zk config --lightnetAnd then change <your fee payer key> in config.json with a path to your lightnet fee payer. It can be found in config.json lightnet1 feepayerKeyPath
./lightnet_reproduce.sh./lightnet_valid.sh