Hot answers tagged

1

This seems to be working. But you can test it out on your own with your specific use-case in remix.


1

If you just want to recover your contracts and migrate them to the secure version, you can run Remix IDE locally and change the hosts file to point remix.ethereum.org to your local machine. The steps are as follows: Install nodejs. There are many ways of doing this on a Mac, I prefer to use nvm (https://github.com/nvm-sh/nvm/blob/master/README.md) Install ...


1

I am not sure about modifying the nonce with send methods. You can use instead classic web3.eth.sendTransaction method (https://web3js.readthedocs.io/en/v1.2.1/web3-eth.html#sendtransaction). However, you'll need to provide the data field for this transaction. const nonceThatIWant = x; const txObject = smartContractObject.methods.addSomething(_valueToAdd); ...


1

Make sure that you are providing some withdraw_amount in the Value datafield in Remix IDE. By default it has value as 0. Consider this answer for your reference. https://ethereum.stackexchange.com/a/68640/53398 Let me know if the problem still persists. Edited solution: I've find out the error you are facing. When you're running this contract, you ...


Only top voted, non community-wiki answers of a minimum length are eligible