Skip to content

Instantly share code, notes, and snippets.

@hugoroussel
Created January 24, 2019 14:47
Show Gist options
  • Save hugoroussel/f7a8fbec5f028f8ce2b1f5cfca4c7f8a to your computer and use it in GitHub Desktop.
Save hugoroussel/f7a8fbec5f028f8ce2b1f5cfca4c7f8a to your computer and use it in GitHub Desktop.
➜ byzcoin git:(master) ✗ go test -run Credit
1!: ( byzcoin.TestEVMContract_Invoke_Credit: 63) - test: crediting an account
1!: ( byzcoin.(*contractBvm).Invoke: 120) - value requested : 1 : 0x2afd357E96a3aCbcd01615681C1D7e3398d5fb61 balance credited 1
1!: ( byzcoin.(*contractBvm).Invoke: 120) - value requested : 1 : 0x2afd357E96a3aCbcd01615681C1D7e3398d5fb61 balance credited 1
1!: ( byzcoin.(*contractBvm).Invoke: 120) - value requested : 1 : 0x2afd357E96a3aCbcd01615681C1D7e3398d5fb61 balance credited 1
tcp://127.0.0.1:57418 Contract bvm got Instruction instr: 5dfe66ea6384c9acff30442f0f26d4d11f2f88cd2bfa500e5944211cbde40d9c
instID: 7824b574c5e0acd2f180385e971e14856b53547bc9f81e8d406601e4c100366b
action: invoke:display
counters: [2]
signatures: 1
and returned error: instruction verification failed: for pk ed25519:42e0dccd14bab3a79277ad4e399bf65b33dc8850976b7ddc2fc941b379132281, got version 2, but need 3
tcp://127.0.0.1:57418 Contract bvm got Instruction instr: 5dfe66ea6384c9acff30442f0f26d4d11f2f88cd2bfa500e5944211cbde40d9c
instID: 7824b574c5e0acd2f180385e971e14856b53547bc9f81e8d406601e4c100366b
action: invoke:display
counters: [2]
signatures: 1
and returned error: instruction verification failed: for pk ed25519:42e0dccd14bab3a79277ad4e399bf65b33dc8850976b7ddc2fc941b379132281, got version 2, but need 3
tcp://127.0.0.1:57418 Contract bvm got Instruction instr: 5dfe66ea6384c9acff30442f0f26d4d11f2f88cd2bfa500e5944211cbde40d9c
instID: 7824b574c5e0acd2f180385e971e14856b53547bc9f81e8d406601e4c100366b
action: invoke:display
counters: [2]
signatures: 1
and returned error: instruction verification failed: for pk ed25519:42e0dccd14bab3a79277ad4e399bf65b33dc8850976b7ddc2fc941b379132281, got version 2, but need 3
tcp://127.0.0.1:57422 Contract bvm got Instruction instr: 5dfe66ea6384c9acff30442f0f26d4d11f2f88cd2bfa500e5944211cbde40d9c
instID: 7824b574c5e0acd2f180385e971e14856b53547bc9f81e8d406601e4c100366b
action: invoke:display
counters: [2]
signatures: 1
and returned error: instruction verification failed: for pk ed25519:42e0dccd14bab3a79277ad4e399bf65b33dc8850976b7ddc2fc941b379132281, got version 2, but need 3
tcp://127.0.0.1:57420 Contract bvm got Instruction instr: 5dfe66ea6384c9acff30442f0f26d4d11f2f88cd2bfa500e5944211cbde40d9c
instID: 7824b574c5e0acd2f180385e971e14856b53547bc9f81e8d406601e4c100366b
action: invoke:display
counters: [2]
signatures: 1
and returned error: instruction verification failed: for pk ed25519:42e0dccd14bab3a79277ad4e399bf65b33dc8850976b7ddc2fc941b379132281, got version 2, but need 3
tcp://127.0.0.1:57418 Contract bvm got Instruction instr: 5dfe66ea6384c9acff30442f0f26d4d11f2f88cd2bfa500e5944211cbde40d9c
instID: 7824b574c5e0acd2f180385e971e14856b53547bc9f81e8d406601e4c100366b
action: invoke:display
counters: [2]
signatures: 1
and returned error: instruction verification failed: for pk ed25519:42e0dccd14bab3a79277ad4e399bf65b33dc8850976b7ddc2fc941b379132281, got version 2, but need 3
Got an error while executing ByzCoin/AddTxRequest: transaction is in block, but got refused
--- FAIL: TestEVMContract_Invoke_Credit (2.00s)
require.go:765:
Error Trace: bvmContract_test.go:261
bvmContract_test.go:85
Error: Expected nil, but got: &websocket.CloseError{Code:4000, Text:"transaction is in block, but got refused"}
Test: TestEVMContract_Invoke_Credit
FAIL
exit status 1
FAIL _/Users/hugo/student_18_hugo_verex/byzcoin 2.058s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment