-
Notifications
You must be signed in to change notification settings - Fork 17
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
chore: cleanup jsonrpc client in integration tests #828
Conversation
})) | ||
.max_gas() | ||
.deposit(NearToken::from_yoctonear(1)) | ||
.transact_async() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice enhancement, i've seen concurrent tests fail due to invalid nonce
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah hopefully this resolves that a bit. It won't retry though since near-fetch requires explicit .retry_expoential(...)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
0a83e67
to
a74c620
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice refactor
We don't need to use jsonrpc-client separately anymore since
near_fetch::Client
is quite feature rich now and can directly do everything more cleanly there