cmd/evm: add support for signing transactions in the unprotected format (#23937)

* cmd/evm: add support for signing transactions in the unprotected format

* cmd/evm: simplify signing of unprotected txs
This commit is contained in:
lightclient
2021-11-23 02:33:15 -07:00
committed by GitHub
parent 17f1c2dc0f
commit 23f69c6db0
7 changed files with 97 additions and 10 deletions

View File

@ -195,6 +195,14 @@ func TestT8n(t *testing.T) {
output: t8nOutput{result: true},
expOut: "exp_arrowglacier.json",
},
{ // Sign unprotected (pre-EIP155) transaction
base: "./testdata/23",
input: t8nInput{
"alloc.json", "txs.json", "env.json", "Berlin", "",
},
output: t8nOutput{result: true},
expOut: "exp.json",
},
} {
args := []string{"t8n"}