We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fa4e1e commit fb8b4c2Copy full SHA for fb8b4c2
libs/remix-lib/src/execution/txRunnerWeb3.ts
@@ -78,6 +78,9 @@ export class TxRunnerWeb3 {
78
if (err) {
79
console.log(err)
80
return
81
+ // Remove `timestamp` from tx if network is Kovan
82
+ // It shows: 'Error: Returned error: Invalid params: unknown field `timestamp`'
83
+ // See: https://github.com/ethereum/remix-project/issues/1282
84
} else if (network && network.name === 'Kovan') delete tx['timestamp']
85
86
return this.getWeb3().eth.call(tx, function (error, result: any) {
0 commit comments