Open sjoerdvisscher opened 6 months ago
I appreciate you spending the time on this! I tried using this PR's code to see if I could now execute a staking script but I could not. While the registration transaction now successfully goes through, I now get the following error when I withdraw 0 ADA:
[WARNING] TxnValidation af8148a03e0bf6dccf5fe746c6c93559b3ba27ca5a7a80651d2ff53589d8ae1b
Validation failed in phase 1: CardanoLedgerValidationError "ApplyTxError [DelegsFailure (WithdrawalsNotInRewardsDELEGS (fromList [(RewardAcnt {getRwdNetwork = Testnet, getRwdCred = ScriptHashObj (ScriptHash \"47cec2a1404ed91fc31124f29db15dc1aae77e0617868bcef351b8fd\")},Coin 0)]))]"
I get this error even if the staking script is not registered. Were you able to execute a staking script?
@fallen-icarus No. A quick look at what this errors means suggests that the emulator would have to maintain delegation state to get this to work. Unfortunately I no longer work on the emulator (nor anyone else), so this looks like a dead end for now.
@fallen-icarus I'm getting the chance to work a bit longer on the emulator! And maintaining the delegation state didn't seem too hard to do. If you want you can try your scripts again!
It seems to be working now! Thank you!
@fallen-icarus Thanks for verifying so quickly, that's really helpful!
Fixes #18
Pre-submit checklist: