This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 795
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure a consistent chain ID between a signer and provider in SignerM…
…iddleware (#1095) * feat(middleware): fetch chainid from middleware Require SignerMiddleware to fetch the inner middleware's to set for the signer. SignerMiddleware now requires an instantiated middleware with an accessible get_chainid method. * ci: update ganache newer ganache version is needed to specify the ganache provider chain id in tests * set SignerMiddleware constructor return to result * create new method for pulling chainid * add consistent chainid CHANGELOG entry * remove awaits * switch test_derive_eip712 to use consistent signer * remove gas estimation equality assert in deploy_and_call_contract - updated version of ganache no longer returns the same value for gas estimation and gas_used * revert with_signer to non-async non-result * cargo fmt * expand SignerMiddleware::new comment * remove doc indent
- Loading branch information
Showing
6 changed files
with
103 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters