We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
web3config does not proprogate to other packages properly between eachother.
How it is currently working:
const {Web3} = require('../packages/web3') const basic = require('../fixtures/build/Basic.json') const web3 = new Web3('http://127.0.0.1:8545/'); web3.setConfig({ contractDataInputFill: "data" }); const c1 = new web3.eth.Contract(basic.abi, '') console.log(c1.config.contractDataInputFill) // input const c2 = new web3.eth.Contract(basic.abi, '', web3.getContextObject()) console.log(c2.config.contractDataInputFill) // data
How it should work
const web3 = new Web3('http://127.0.0.1:8545/'); web3.setConfig({ contractDataInputFill: "data" }); const c1 = new web3.eth.Contract(basic.abi, '') console.log(c1.config.contractDataInputFill) // data const c2 = new web3.eth.Contract(basic.abi, '', web3.getContextObject()) console.log(c2.config.contractDataInputFill) // data
The text was updated successfully, but these errors were encountered:
luu-alex
No branches or pull requests
web3config does not proprogate to other packages properly between eachother.
How it is currently working:
How it should work
Expected behavior
Actual behavior
Steps to reproduce the behavior
Logs
Environment
The text was updated successfully, but these errors were encountered: