-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mock-consensus: 💰 execute a spend via mock consensus #3857
Conversation
fixes #3788. this introduces a new `mock_consensus_can_send_a_spend_action` test which, as the name implies, shows that the mock consensus harness can send and execute a `Spend` action via our consensus service. a `MockClient::with_sync_to_storage` helper (bikesheds are welcome here) is introduced, to facilitate syncing to the latest snapshot of the temporary storage. * #3588 * #3788
for posterity: feedback from #status in discord. we should use |
* #3588. * #3788. * #3857 --- TODO(kate): currently, i'm seeing an error shaped like so: ``` 2024-02-23T02:55:09.755882Z INFO penumbra_app::server::consensus: deliver_tx failed, e: binding signature failed to verify Caused by: Invalid signature. at crates/core/app/src/server/consensus.rs:210 in penumbra_mock_consensus::abci::deliver_tx in penumbra_mock_consensus::block::execute with height: 1, time: 1708656909 ```
* #3588. * #3788. * #3857 --- TODO(kate): currently, i'm seeing an error shaped like so: ``` 2024-02-23T02:55:09.755882Z INFO penumbra_app::server::consensus: deliver_tx failed, e: binding signature failed to verify Caused by: Invalid signature. at crates/core/app/src/server/consensus.rs:210 in penumbra_mock_consensus::abci::deliver_tx in penumbra_mock_consensus::block::execute with height: 1, time: 1708656909 ```
f/ixes #3788.this introduces a new
mock_consensus_can_send_a_spend_action
test which, as the name implies, shows that the mock consensus harness can send and execute aSpend
action via our consensus service.a
MockClient::with_sync_to_storage
helper (bikesheds are welcome here) is introduced, to facilitate syncing to the latest snapshot of the temporary storage.App
tests #3588