Skip to content
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

camelCase Issue #617

Open
Rust-Sol-Dev opened this issue Jul 8, 2024 · 0 comments
Open

camelCase Issue #617

Rust-Sol-Dev opened this issue Jul 8, 2024 · 0 comments

Comments

@Rust-Sol-Dev
Copy link

In the event of a failed bundle simulation, the tx_signature field in the JSON response is formatted in snake_case, unlike the other fields which are in camelCase.

buffalu pushed a commit that referenced this issue Jul 18, 2024
* Add new StakeError variant

* Add closure to return error if EpochRewards::active

* Use error_during_epoch_rewards for Instructions that mutate stake accounts

* Use try instead of manually matching Ok/Err

* Consolidate error_during_epoch_rewards check

* Add new test helper

* Add test demonstrating which ix return StakeError::EpochRewardsActive

* Remove single-use fn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant