currently I am working on a simple wallet contract with an UI based on web components. After testing the contract in remix with no issues, I tried to deploy my contract with truffle to the kovan test network and I got the following issue:
1_initial_migration.js
======================
Deploying 'Migrations'
----------------------
Error: *** Deployment Failed ***
"Migrations" -- Unable to decode sender address from transaction: Incompatible EIP155-based V 37 and chain id 42. See the Common parameter of the Transaction constructor to set the chain id..
at /usr/lib/node_modules/truffle/build/webpack:/packages/deployer/src/deployment.js:365:1
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at Migration._deploy (/usr/lib/node_modules/truffle/build/webpack:/packages/migrate/Migration.js:74:1)
at Migration._load (/usr/lib/node_modules/truffle/build/webpack:/packages/migrate/Migration.js:61:1)
at Migration.run (/usr/lib/node_modules/truffle/build/webpack:/packages/migrate/Migration.js:212:1)
at Object.runMigrations (/usr/lib/node_modules/truffle/build/webpack:/packages/migrate/index.js:150:1)
at Object.runFrom (/usr/lib/node_modules/truffle/build/webpack:/packages/migrate/index.js:110:1)
at Object.runAll (/usr/lib/node_modules/truffle/build/webpack:/packages/migrate/index.js:114:1)
at Object.run (/usr/lib/node_modules/truffle/build/webpack:/packages/migrate/index.js:79:1)
at runMigrations (/usr/lib/node_modules/truffle/build/webpack:/packages/core/lib/commands/migrate.js:263:1)
at Object.run (/usr/lib/node_modules/truffle/build/webpack:/packages/core/lib/commands/migrate.js:226:1)
at Command.run (/usr/lib/node_modules/truffle/build/webpack:/packages/core/lib/command.js:136:1)
Truffle v5.2.6 (core: 5.2.6)
Node v14.16.1
Hey,
currently I am working on a simple wallet contract with an UI based on web components. After testing the contract in remix with no issues, I tried to deploy my contract with truffle to the kovan test network and I got the following issue:
Dependencies in package.json:
truffle-config.js
After a downgrade to hdwallet-provider@1.2.3 the deployment working as expected without any other changes:
So, why is there a downgrade necessary to deploy the contract?
Thanks. :)