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

GH-563: HOT-FIX - update Mumbai test token contract #103

Merged
merged 4 commits into from
Feb 14, 2022
Merged

GH-563: HOT-FIX - update Mumbai test token contract #103

merged 4 commits into from
Feb 14, 2022

Conversation

utkarshg6
Copy link
Collaborator

No description provided.

"type": "function"
}]"#;
let abi = ethabi::Contract::load(min_abi_json.as_bytes()).unwrap();
let contract = web3::contract::Contract::new(web3.eth(), address, abi);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't critical, but I'd like to see a more descriptive name here. It's not really the contract, it's the pair of results from the two function calls. I understand that those two results are intimately connected with the contract, but they're not the same thing. Reading the code might be easier with a better name.

@dnwiebe dnwiebe merged commit 52efdaf into master Feb 14, 2022
@dnwiebe dnwiebe deleted the GH-563 branch February 14, 2022 13:05
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.

None yet

3 participants