Skip to content

Commit

Permalink
refactor(ARCO-312): Fix integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
boecklim committed Jan 10, 2025
1 parent 6f81bc7 commit 21a3e4a
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 20 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- inserted_at: 2023-12-15 14:00:00
id: 1001
hash: 0xf97e20396f02ab990ed31b9aec70c240f48b7e5ea239aa050000000000000000
hash: 0x67708796ef57464ed9eaf2a663d3da32372e4c2fb65558020000000000000000
prevhash: 0xb71ab063c5f96cad71cdc59dcc94182a20a69cbd7eed2d070000000000000000
merkleroot: 0x7f4019eb006f5333cce752df387fa8443035c22291eb771ee5b16a02b81c8483
height: 822014
Expand All @@ -22,18 +22,6 @@
status: 10
is_longest: true
chainwork: '62209952899966'
- inserted_at: 2023-12-15 14:30:00
id: 1999
hash: 0x82471bbf045ab13825a245b37de71d77ec12513b37e2524ec11551d18c19f7c3
prevhash: 0x67708796ef57464ed9eaf2a663d3da32372e4c2fb65558020000000000000000
merkleroot: 0x7382df1b717287ab87e5e3e25759697c4c45eea428f701cdd0c77ad3fc707257
height: 822015
processed_at: 2023-12-15 14:30:00
size: 20160000
tx_count: 6523
status: 20 # STALE - competing block
is_longest: false
chainwork: '62209952899966'
- inserted_at: 2023-12-15 14:40:00
id: 1003
hash: 0xe1df1273e6e7270f96b508545d7aa80aebda7d758dc82e080000000000000000
Expand All @@ -58,6 +46,23 @@
status: 10
is_longest: true
chainwork: '62209952899966'

# Stale
- inserted_at: 2023-12-15 14:30:00
id: 1999
hash: 0x82471bbf045ab13825a245b37de71d77ec12513b37e2524ec11551d18c19f7c3
prevhash: 0x67708796ef57464ed9eaf2a663d3da32372e4c2fb65558020000000000000000
merkleroot: 0x7382df1b717287ab87e5e3e25759697c4c45eea428f701cdd0c77ad3fc707257
height: 822015
processed_at: 2023-12-15 14:30:00
size: 20160000
tx_count: 6523
status: 20 # STALE - competing block
is_longest: false
chainwork: '62209952899966'



- inserted_at: 2023-12-15 14:50:00
id: 10052
hash: 0x000000000000000003b15d668b54c4b91ae81a86298ee209d9f39fd7a769bcde
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
- hash: 0xcd3d2f97dfc0cdb6a07ec4b72df5e1794c9553ff2f62d90ed4add047e8088853
inserted_at: 2023-12-15 14:00:00
- hash: 0xb16cea53fc823e146fbb9ae4ad3124f7c273f30562585ad6e4831495d609f430
inserted_at: 2023-12-15 14:00:00
- hash: 0xcd3d2f97dfc0cdb6a07ec4b72df5e1794c9553ff2f62d90ed4add047e8088853
- hash: 0x2ff4430eb883c6f6c0640a5d716b2d107bbc0efa5aeaa237aec796d4686b0a8f
inserted_at: 2023-12-15 14:00:00
- hash: 0xece2b7e40d98749c03c551b783420d6e3fdc3c958244bbf275437839585829a6
inserted_at: 2023-12-15 14:00:00
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
- block_id: 1002
hash: 0xcd3d2f97dfc0cdb6a07ec4b72df5e1794c9553ff2f62d90ed4add047e8088853
merkle_tree_index: 1
merkle_tree_index: 0
- block_id: 1002
hash: 0xb16cea53fc823e146fbb9ae4ad3124f7c273f30562585ad6e4831495d609f430
merkle_tree_index: 3
merkle_tree_index: 1
- block_id: 1004
hash: 0xb16cea53fc823e146fbb9ae4ad3124f7c273f30562585ad6e4831495d609f430
merkle_tree_index: 3
merkle_tree_index: 0
- block_id: 1003
hash: 0x2ff4430eb883c6f6c0640a5d716b2d107bbc0efa5aeaa237aec796d4686b0a8f
merkle_tree_index: 4
merkle_tree_index: 0
- block_id: 1006
hash: 0xece2b7e40d98749c03c551b783420d6e3fdc3c958244bbf275437839585829a6
merkle_tree_index: 5
merkle_tree_index: 0
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- hash: 0xcd3d2f97dfc0cdb6a07ec4b72df5e1794c9553ff2f62d90ed4add047e8088853
inserted_at: 2023-12-15 14:00:00
- hash: 0xb16cea53fc823e146fbb9ae4ad3124f7c273f30562585ad6e4831495d609f430
inserted_at: 2023-12-15 14:00:00
- hash: 0x2ff4430eb883c6f6c0640a5d716b2d107bbc0efa5aeaa237aec796d4686b0a8f
inserted_at: 2023-12-15 14:00:00
- hash: 0xece2b7e40d98749c03c551b783420d6e3fdc3c958244bbf275437839585829a6
inserted_at: 2023-12-15 14:00:00
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func TestReorg(t *testing.T) {
blockHash822015Fork = "82471bbf045ab13825a245b37de71d77ec12513b37e2524ec11551d18c19f7c3"
blockHash822016Fork = "032c3688bc7536b2d787f3a196b1145a09bf33183cd1448ff6b1a9dfbb022db8"

blockHash822014StartOfChain = "f97e20396f02ab990ed31b9aec70c240f48b7e5ea239aa050000000000000000"
blockHash822014StartOfChain = "67708796ef57464ed9eaf2a663d3da32372e4c2fb65558020000000000000000"
blockHash822015 = "c9b4e1e4dcf9188416027511671b9346be8ef93c0ddf59060000000000000000"
blockHash822016 = "e1df1273e6e7270f96b508545d7aa80aebda7d758dc82e080000000000000000"
blockHash822017 = "76404890880cb36ce68100abb05b3a958e17c0ed274d5c0a0000000000000000"
Expand Down

0 comments on commit 21a3e4a

Please sign in to comment.