Skip to content

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

Merged
merged 7 commits into from
May 2, 2025
Merged

update Ethereumjs 10 / ethers 6 #5980

merged 7 commits into from
May 2, 2025

Conversation

yann300
Copy link
Contributor

@yann300 yann300 commented Apr 29, 2025

No description provided.

@yann300 yann300 added the WIP label Apr 29, 2025
@yann300 yann300 requested a review from Aniket-Engg April 29, 2025 12:01
Copy link

netlify bot commented Apr 29, 2025

Deploy Preview for remixproject ready!

Name Link
🔨 Latest commit 15dcf86
🔍 Latest deploy log https://app.netlify.com/sites/remixproject/deploys/681471b52497c800086a4d15
😎 Deploy Preview https://deploy-preview-5980--remixproject.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@yann300 yann300 force-pushed the ethereumjs_10 branch 12 times, most recently from e137411 to f3d0bd8 Compare April 30, 2025 18:16
@yann300 yann300 force-pushed the ethereumjs_10 branch 7 times, most recently from e7cabc3 to 2dc6610 Compare April 30, 2025 20:13
@yann300 yann300 added ready-to-review PR ready to review and removed WIP labels May 1, 2025
@@ -1,8 +1,8 @@
// @ts-ignore
import { ethers } from "ethers"
import { BrowserProvider, Contract, Signer } from "ethers"
Copy link
Collaborator

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)
Copy link
Collaborator

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'
Copy link
Collaborator

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

@yann300 yann300 requested a review from Aniket-Engg May 2, 2025 07:18
@yann300 yann300 enabled auto-merge (rebase) May 2, 2025 09:16
@yann300 yann300 merged commit 0be36d8 into master May 2, 2025
34 checks passed
@yann300 yann300 deleted the ethereumjs_10 branch May 2, 2025 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-review PR ready to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants