Releases: godwokenrises/godwoken-tests
Releases · godwokenrises/godwoken-tests
v0.4.0
Tests cases base on Godwoken Kicker v0.3.1-rc1
[2021-06-08T09:22:13Z INFO godwoken_tests] start 1 workers...
===================
CkbAsset Test Cases
===================
[2021-06-08T09:22:13Z INFO godwoken_tests::specs::ckb_asset] * deposit CKB
[2021-06-08T09:22:13Z INFO godwoken_tests] [CkbAsset] Start executing
[2021-06-08T09:24:16Z INFO godwoken_tests::specs::ckb_asset] miner_balance_record: 339999999889
[2021-06-08T09:24:18Z INFO godwoken_tests::specs::ckb_asset] user1_balance_record: 418722199903
[2021-06-08T09:24:18Z INFO godwoken_tests::specs::ckb_asset] * Transfer 111 Shannons (CKB) from miner to user1
[2021-06-08T09:24:20Z INFO godwoken_tests] layer2 transaction hash: 0xd1f3af5e14e2c62ad67b899b186c1f9cd439706d2e9194984a463f86fa44d06a
[2021-06-08T09:24:55Z INFO godwoken_tests::specs::ckb_asset] miner_balance_record: Ok(339999999778)
[2021-06-08T09:24:56Z INFO godwoken_tests::specs::ckb_asset] user1_balance_record: Ok(418722200014)
[2021-06-08T09:24:56Z INFO godwoken_tests::specs::ckb_asset] * miner withdraw 40000000000 shannons (CKB) from godwoken
[2021-06-08T09:25:49Z INFO godwoken_tests::specs::ckb_asset] * user1 withdraw 28500000000 shannons (CKB) from godwoken
[2021-06-08T09:26:36Z INFO godwoken_tests::specs::ckb_asset] miner_balance_record: Ok(299999999778)
[2021-06-08T09:26:37Z INFO godwoken_tests::specs::ckb_asset] user1_balance_record: Ok(390222200014)
===============
SUDT Test Cases
===============
[2021-06-08T09:26:37Z INFO godwoken_tests::specs::sudt_asset] * miner deposit SUDT from layer1 to layer2
[2021-06-08T09:26:37Z INFO godwoken_tests] 1/3 .............. [CkbAsset] Done in 263 seconds
[2021-06-08T09:26:37Z INFO godwoken_tests] [SudtAsset] Start executing
[2021-06-08T09:27:27Z INFO godwoken_tests::specs::sudt_asset] * user1 deposit SUDT from layer1 to layer2
[2021-06-08T09:28:19Z INFO godwoken_tests::specs::sudt_asset] miner's SUDT_4 balance: 2998691358
[2021-06-08T09:28:19Z INFO godwoken_tests::specs::sudt_asset] user1's SUDT_4 balance: 1308642
[2021-06-08T09:28:19Z INFO godwoken_tests::specs::sudt_asset] * transfer 654321 SUDT_4 from miner to user1
[2021-06-08T09:28:20Z INFO godwoken_tests] layer2 transaction hash: 0xd40575dd67afb6cdd05512336eab9379954311cd151e3b7b8c9272eb8ac2692e
[2021-06-08T09:29:14Z INFO godwoken_tests::specs::sudt_asset] * transfer 54321 SUDT_5 from user1 to miner
[2021-06-08T09:29:17Z INFO godwoken_tests] layer2 transaction hash: 0x5f6aca4eb61baefd08f8d42ee3afc5570e766a7da1ef8a25873c184757bcee38
[2021-06-08T09:29:57Z INFO godwoken_tests::specs::sudt_asset] * user1 withdraw 48600000000 SUDT_5 from godwoken
[2021-06-08T09:30:27Z INFO godwoken_tests] 2/3 .............. [SudtAsset] Done in 230 seconds
[2021-06-08T09:30:27Z INFO godwoken_tests] [Polyjuice] Start executing
====================
Polyjuice Test Cases
====================
[2021-06-08T09:30:27Z INFO godwoken_tests::specs::polyjuice] * create-creator-account and get creator_account_id
[2021-06-08T09:30:28Z INFO godwoken_tests::specs::polyjuice] Polyjuice creator account id: 6
[2021-06-08T09:30:28Z INFO godwoken_tests::specs::polyjuice] * deploy an EVM contract - SimpleStorage
[2021-06-08T09:31:11Z INFO godwoken_tests::specs::polyjuice] contract address: 0x2662f01c9be281bb77dde49d2e8a1f4a08000000
[2021-06-08T09:31:13Z INFO godwoken_tests::specs::polyjuice] * call EVM contract in Polyjuice using eth_call: SimpleStorage.get() ->
[2021-06-08T09:31:14Z INFO godwoken_tests::specs::polyjuice] storedData = 0x000000000000000000000000000000000000000000000000000000000000007b
[2021-06-08T09:31:14Z INFO godwoken_tests::specs::polyjuice] * SimpleStorage.set(182487000) ->
[2021-06-08T09:32:06Z INFO godwoken_tests::specs::polyjuice] * SimpleStorage.get() ->
[2021-06-08T09:32:07Z INFO godwoken_tests::specs::polyjuice] storedData = 0x000000000000000000000000000000000000000000000000000000000ae087d8
[2021-06-08T09:32:07Z INFO godwoken_tests] 3/3 .............. [Polyjuice] Done in 99 seconds
--------------------------------------------------------------------------------
TEST | STATUS | DURATION
CkbAsset | Passed | 263 s
SudtAsset | Passed | 230 s
Polyjuice | Passed | 99 s
New test case could be added into [tests/src/specs/] | Failed | 0 s
Total elapsed time: 593.402944721s
Tests base on Kicker-v0.2.3-rc5
Test cases:
--------------------------------------------------------------------------------
TEST | STATUS | DURATION
CkbAsset | Passed | 262 s
SudtAsset | Passed | 204 s
Polyjuice | Passed | 72 s
New test case could be added into [tests/src/specs/] | Failed | 0 s
Total elapsed time: 538.713506727s