You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You should see standard output from the hardhat deployment and printed accounts:
Nothing to compile
deploying "ERC20" (tx: 0x8866793fdebf43451687ae56e8f7daac66897938e80f22da9952c7b2de0c82f7)...: deployed at 0x5FbDB2315678afecb367f032d93F642f64180aa3 with 418496 gas
Started HTTP and WebSocket JSON-RPC server at http://127.0.0.1:8545/
Accounts
========
WARNING: These accounts, and their private keys, are publicly known.
Any funds sent to them on Mainnet or any other live network WILL BE LOST.
Account #0: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 (10000 ETH)
Private Key: 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
...
Test 1
PK=<paste here the private key from listing above> CONTRACT=<paste here the address of deployed contract> node scripts/transfer_ethers_celo_provider.js
For me using PK and CONTACT above I would execute:
data: {
message: 'Error: Invalid transaction. Only expecting 6 values (for unsigned tx) or 9 values (for signed tx).'
}
Now, executing same transaction but using vanilla ether.providers.JsonRpcProvider as implemented in scripts/transfer_ethers.js ends without any issues.
Setup
You should see standard output from the hardhat deployment and printed accounts:
Test 1
For me using PK and CONTACT above I would execute:
The output should have an error containing:
Now, executing same transaction but using vanilla
ether.providers.JsonRpcProvider
as implemented inscripts/transfer_ethers.js
ends without any issues.The text was updated successfully, but these errors were encountered: