-
Notifications
You must be signed in to change notification settings - Fork 1.1k
update Ethereumjs 10 / ethers 6 #5980
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
Conversation
✅ Deploy Preview for remixproject ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
e137411
to
f3d0bd8
Compare
e7cabc3
to
2dc6610
Compare
libs/ghaction-helper/src/methods.ts
Outdated
@@ -1,8 +1,8 @@ | |||
// @ts-ignore | |||
import { ethers } from "ethers" | |||
import { BrowserProvider, Contract, Signer } from "ethers" |
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.
these two imports can be merged in one
const abi = new ethers.utils.Interface([funABI]) | ||
return abi.getSighash(funABI.name) | ||
const abi = new Interface([funABI]) | ||
console.log('encodeFunctionId', abi.getFunction(funABI.name).selector) |
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.
remove log
import { hash } from '@remix-project/remix-lib' | ||
import { bytesToHex, Account, bigIntToHex, MapDB, toBytes, bytesToBigInt, BIGINT_0, BIGINT_1, equalsBytes } from '@ethereumjs/util' | ||
import { keccak256 } from 'ethereum-cryptography/keccak' | ||
import { bytesToHex, hexToBytes, Account, bigIntToHex, MapDB, toBytes, bytesToBigInt, BIGINT_0, BIGINT_1, equalsBytes, createAccount, PrefixedHexString } from '@ethereumjs/util' | ||
import { Address } from '@ethereumjs/util' |
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.
this import can be merge with above one
No description provided.