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

update rust setup #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

update rust setup #10

wants to merge 1 commit into from

Conversation

wminshew
Copy link

ethereum_types::U256 is basically the same as primitive_types::U256 but later on it will allow you to #[derive(Deserialize)] directly from the json. I spent a lot of time learning how serde worked & trying to build around the fact that primitive_types::U256 couldn't do this and.. well, eventually gave up. Rust doesn't make that kind of work around trivial (afaict..)

my original solution used Option<String> everywhere and it obviously makes the code significantly uglier / harder

lmk if you want to chat more about any of the other changes but think the rest are more straightforward

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

Successfully merging this pull request may close these issues.

1 participant