From 1cdf0056d766c9a35948a444098aaf20e570c8de Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Fri, 24 May 2024 12:02:52 +1000 Subject: [PATCH] test: verifreg: remove cbor diag comments --- actors/verifreg/tests/verifreg_actor_test.rs | 44 ++------------------ 1 file changed, 3 insertions(+), 41 deletions(-) diff --git a/actors/verifreg/tests/verifreg_actor_test.rs b/actors/verifreg/tests/verifreg_actor_test.rs index e5d8f5137..d3936e6e3 100644 --- a/actors/verifreg/tests/verifreg_actor_test.rs +++ b/actors/verifreg/tests/verifreg_actor_test.rs @@ -1581,24 +1581,11 @@ mod serialization { fn claim_allocations_params() { let test_cases = vec![ ( - /* - 82 # array(2) - 80 # array(0) - f4 # false - */ ClaimAllocationsParams { sectors: vec![], all_or_nothing: false }, + // [[],false] "8280f4", ), ( - /* - 82 # array(2) - 81 # array(1) - 83 # array(3) - 18 65 # uint(101) - 18 ca # uint(202) - 80 # array(0) - f5 # true - */ ClaimAllocationsParams { sectors: vec![SectorAllocationClaims { sector: 101, @@ -1607,36 +1594,10 @@ mod serialization { }], all_or_nothing: true, }, + // [[[101,202,[]]],true] "828183186518ca80f5", ), ( - /* - 82 # array(2) - 82 # array(2) - 83 # array(3) - 18 65 # uint(101) - 18 ca # uint(202) - 82 # array(2) - 84 # array(4) - 19 012f # uint(303) - 19 0194 # uint(404) - d8 2a # tag(42) - 49 # bytes(9) - 000181e20392200100 # "\x00\x01\x81â\x03\x92 \x01\x00" - 19 01f9 # uint(505) - 84 # array(4) - 19 025e # uint(606) - 19 02c3 # uint(707) - d8 2a # tag(42) - 49 # bytes(9) - 000181e20392200101 # "\x00\x01\x81â\x03\x92 \x01\x01" - 19 0328 # uint(808) - 83 # array(3) - 19 012f # uint(303) - 19 0194 # uint(404) - 80 # array(0) - f5 # true - */ ClaimAllocationsParams { sectors: vec![ SectorAllocationClaims { @@ -1661,6 +1622,7 @@ mod serialization { ], all_or_nothing: true, }, + // [[[101,202,[[303,404,baga6ea4seaaqa,505],[606,707,baga6ea4seaaqc,808]]],[303,404,[]]],true] "828283186518ca828419012f190194d82a49000181e203922001001901f98419025e1902c3d82a49000181e203922001011903288319012f19019480f5", ), ];