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

show text field to enter values for constructor args #3744

Merged
merged 4 commits into from
May 30, 2023
Merged

Conversation

Aniket-Engg
Copy link
Collaborator

@Aniket-Engg Aniket-Engg commented May 29, 2023

related to #3597

@netlify
Copy link

netlify bot commented May 29, 2023

Deploy Preview for remixproject ready!

Name Link
🔨 Latest commit 7763da0
🔍 Latest deploy log https://app.netlify.com/sites/remixproject/deploys/6475f383d30ab2000813c011
😎 Deploy Preview https://deploy-preview-3744--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 settings.

@yann300
Copy link
Contributor

yann300 commented May 30, 2023

it fails to generate the encoded input when the constructor has 3 inputs.

}
const web3 = new Web3()
const constructorTypes = constructorInputs.map(e => e.type)
let contractArguments = web3.eth.abi.encodeParameters(constructorTypes, constructorValues)
Copy link
Contributor

Choose a reason for hiding this comment

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

constructorTypes doesn't match with constructorValues when ctor has 3 parameters

@Aniket-Engg Aniket-Engg merged commit 6d43eb9 into master May 30, 2023
@Aniket-Engg Aniket-Engg deleted the ethsConsArgs branch May 30, 2023 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants