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

Ethers v6 #483

Draft
wants to merge 21 commits into
base: master
Choose a base branch
from
Draft

Ethers v6 #483

wants to merge 21 commits into from

Conversation

corbanbrook
Copy link
Contributor

No description provided.

@@ -42,15 +42,15 @@ const main = async () => {
{
name: 'hardhat',
chainId: 31337,
rpcUrl: provider.connection.url,
rpcUrl: provider._getConnection().url,
Copy link
Member

Choose a reason for hiding this comment

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

this is kinda weird.. we shouldn't need to use _ methods.. is there nothing else with this info on the object..?

@@ -82,11 +82,11 @@ class Chain0Reader implements commons.reader.Reader {
return undefined
}

async nonce(_wallet: string, _space: ethers.BigNumberish): Promise<ethers.BigNumberish> {
return ethers.constants.Zero
async nonce(_wallet: string, _space: BigIntish): Promise<bigint> {
Copy link
Member

Choose a reason for hiding this comment

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

ethers still has the ethers.BigNumberish type, but now it uses native bigInt or strings ..

Our response type is now Promise<bigint> ... what is bigint ..? Im just wondering what is most sensible return type..

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

2 participants