Skip to content

Instantly share code, notes, and snippets.

@hugoroussel
Created January 25, 2019 09:08
Show Gist options
  • Save hugoroussel/dc60c3a0401078d8e456a7d5de930a10 to your computer and use it in GitHub Desktop.
Save hugoroussel/dc60c3a0401078d8e456a7d5de930a10 to your computer and use it in GitHub Desktop.
➜ byzcoin git:(master) ✗ go test
1!: ( byzcoin.TestEVMContract_Spawn: 22) - test: instance creation
1!: ( byzcoin.TestEVMContract_Invoke_Display: 44) - test: displaying account
1!: ( byzcoin.(*contractBvm).Invoke: 98) - 0x2afd357E96a3aCbcd01615681C1D7e3398d5fb61 balance 0
1!: ( byzcoin.(*contractBvm).Invoke: 98) - 0x2afd357E96a3aCbcd01615681C1D7e3398d5fb61 balance 0
1!: ( byzcoin.(*contractBvm).Invoke: 98) - 0x2afd357E96a3aCbcd01615681C1D7e3398d5fb61 balance 0
1!: ( byzcoin.TestEVMContract_Invoke_Credit: 63) - test: crediting an account
1!: ( byzcoin.(*contractBvm).Invoke: 120) - 0x2afd357E96a3aCbcd01615681C1D7e3398d5fb61 balance credited 1
1!: ( byzcoin.(*contractBvm).Invoke: 120) - 0x2afd357E96a3aCbcd01615681C1D7e3398d5fb61 balance credited 1
1!: ( byzcoin.(*contractBvm).Invoke: 120) - 0x2afd357E96a3aCbcd01615681C1D7e3398d5fb61 balance credited 1
1!: ( byzcoin.(*contractBvm).Invoke: 98) - 0x2afd357E96a3aCbcd01615681C1D7e3398d5fb61 balance 1
1!: ( byzcoin.(*contractBvm).Invoke: 98) - 0x2afd357E96a3aCbcd01615681C1D7e3398d5fb61 balance 1
1!: ( byzcoin.(*contractBvm).Invoke: 98) - 0x2afd357E96a3aCbcd01615681C1D7e3398d5fb61 balance 1
1!: (byzcoin.TestEVMContract_Invoke_Transaction_Deploy: 89) - test: contract deployment
1!: ( byzcoin.(*contractBvm).Invoke: 162) - tx receipt: 0xad32e2ce01208fa278a50081a9638c278551f4263c9d1d660aff837ddc0b50a5
1!: ( byzcoin.(*contractBvm).Invoke: 164) - contract deployed at: 0x45663483f58d687c8aF17B85cCCDD9391b567498
1!: ( byzcoin.(*contractBvm).Invoke: 162) - tx receipt: 0xad32e2ce01208fa278a50081a9638c278551f4263c9d1d660aff837ddc0b50a5
1!: ( byzcoin.(*contractBvm).Invoke: 164) - contract deployed at: 0x45663483f58d687c8aF17B85cCCDD9391b567498
1!: ( byzcoin.(*contractBvm).Invoke: 162) - tx receipt: 0xad32e2ce01208fa278a50081a9638c278551f4263c9d1d660aff837ddc0b50a5
1!: ( byzcoin.(*contractBvm).Invoke: 164) - contract deployed at: 0x45663483f58d687c8aF17B85cCCDD9391b567498
1!: (byzcoin.TestEVMContract_Invoke_Transaction_Mint: 114) - test: sending mint transaction
1!: ( byzcoin.(*contractBvm).Invoke: 162) - tx receipt: 0x4b4424b9a2dae4451cee8abd8d92dc5dfb03ee0046d83a33304f6122bebec238
1!: ( byzcoin.(*contractBvm).Invoke: 162) - tx receipt: 0x4b4424b9a2dae4451cee8abd8d92dc5dfb03ee0046d83a33304f6122bebec238
1!: ( byzcoin.(*contractBvm).Invoke: 162) - tx receipt: 0x4b4424b9a2dae4451cee8abd8d92dc5dfb03ee0046d83a33304f6122bebec238
SkipchainBFTNew_cosi_prep.Dispatch() created in service Skipchain returned error too many refusals (got 1), the threshold of 3 cannot be achieved
tcp://127.0.0.1:50036 startBFT failed with couldn't sign forward-link
tcp://127.0.0.1:50036 couldn't create new block: Couldn't get forward signature on block: couldn't sign forward-link
Got an error while executing ByzCoin/AddTxRequest: transaction didn't get included after 20s (2 * t_block * 20)
--- FAIL: TestEVMContract_Invoke_Transaction_Mint (20.81s)
require.go:765:
Error Trace: bvmContract_test.go:308
bvmContract_test.go:139
Error: Expected nil, but got: &websocket.CloseError{Code:4000, Text:"transaction didn't get included after 20s (2 * t_block * 20)"}
Test: TestEVMContract_Invoke_Transaction_Mint
1!: ( byzcoin.TestTokenContract: 30) - test: evm creation and function calls
1!: ( byzcoin.TestTokenContract: 76) - contract creation
1!: ( byzcoin.TestTokenContract: 83) - successful contract deployment
1!: ( byzcoin.TestTokenContract: 84) - new contract address 0xBd770416a3345F91E4B34576cb804a576fa48EB1
1!: ( byzcoin.TestTokenContract: 132) - contract calls passed
FAIL
exit status 1
FAIL _/Users/hugo/student_18_hugo_verex/byzcoin 26.434s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment