DeploySerializationTest
Tests
Test |
Duration |
Result |
deploySerialization() |
0.353s |
passed |
Standard output
Original JSON: {
"hash" : "01da3c604f71e0e7df83ff1ab4ef15bb04de64ca02e3d2b78de6950e8b5ee187",
"header" : {
"account" : "01d9bf2148748a85c89da5aad8ee0b0fc2d105fd39d41a4c796536354f0ae2900c",
"timestamp" : "2020-11-17T00:39:24.072Z",
"ttl" : "1h",
"gas_price" : 1,
"body_hash" : "4811966d37fe5674a8af4001884ea0d9042d1c06668da0c963769c3a01ebd08f",
"dependencies" : [ "0101010101010101010101010101010101010101010101010101010101010101" ],
"chain_name" : "casper-example"
},
"payment" : {
"StoredContractByName" : {
"name" : "casper-example",
"entry_point" : "example-entry-point",
"args" : [ [ "quantity", {
"cl_type" : "I32",
"bytes" : "e8030000",
"parsed" : 1000
} ] ]
}
},
"session" : {
"Transfer" : {
"args" : [ [ "amount", {
"cl_type" : "I32",
"bytes" : "e8030000",
"parsed" : 1000
} ] ]
}
},
"approvals" : [ {
"signer" : "01d9bf2148748a85c89da5aad8ee0b0fc2d105fd39d41a4c796536354f0ae2900c",
"signature" : "012dbf03817a51794a8e19e0724884075e6d1fbec326b766ecfa6658b41f81290da85e23b24e88b1c8d9761185c961daee1adab0649912a6477bcd2e69bd91bd08"
} ]
}