Skip to content

Commit

Permalink
Add Stake Processor Tests (#593)
Browse files Browse the repository at this point in the history
  • Loading branch information
dermanyang authored Nov 6, 2024
1 parent 921b1e5 commit 936812a
Show file tree
Hide file tree
Showing 346 changed files with 5,013 additions and 156 deletions.
8 changes: 4 additions & 4 deletions rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ aptos-indexer-processor-sdk = { git = "https://github.com/aptos-labs/aptos-index
aptos-indexer-processor-sdk-server-framework = { git = "https://github.com/aptos-labs/aptos-indexer-processor-sdk.git", rev = "c8f12a75c3648fba889c3da657ff713cd5e676dc" }
aptos-protos = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "5c48aee129b5a141be2792ffa3d9bd0a1a61c9cb" }
aptos-system-utils = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "202bdccff2b2d333a385ae86a4fcf23e89da9f62" }
aptos-indexer-test-transactions = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "db479e442c973d87c63e039e43542fd9facc26d5" }
aptos-indexer-test-transactions = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "4b67e5d816d554b5af4b2c130b283d00799268b7" }
aptos-indexer-testing-framework = { git = "https://github.com/aptos-labs/aptos-indexer-processor-sdk.git", rev = "c8f12a75c3648fba889c3da657ff713cd5e676dc" }
async-trait = "0.1.53"
backtrace = "0.3.58"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
[
{
"table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca",
"key_hash": "61ff6dde49d23af0395c534ca7bee92391910cd0ac4e4ba3d35a2619e49a1775",
"key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935",
"decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935",
"decoded_value": "110825801751155699",
"is_deleted": false,
"last_transaction_version": 1058723093
},
{
"table_handle": "0x28418760527ca583ca1dea9807b21574952f9eac6f2cbef9369f0c87f1940497",
"key_hash": "806ddaf24ffff81a226637c94d1af97f5d416be4b306f66831e9e3334c35bf6b",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca",
"key_hash": "61ff6dde49d23af0395c534ca7bee92391910cd0ac4e4ba3d35a2619e49a1775",
"key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935",
"decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935",
"decoded_value": "102941781793194678",
"is_deleted": false,
"last_transaction_version": 121508544
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[
{
"key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935",
"transaction_version": 121508544,
"write_set_change_index": 5,
"transaction_block_height": 47203318,
"table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca",
"decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935",
"decoded_value": "102941781793194678",
"is_deleted": false
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[
{
"table_handle": "0x05fcc4bcab9aa598fad4bff10390484a76ab7fceca29e7a78c00ff145db7eb39",
"key_hash": "3b8386b8fac31732b9b0d3f2d03a4c1e5d3186a9d905fe4482b77e54bcebde08",
"key": "0x0000000000000000",
"decoded_key": {
"index": "0"
},
"decoded_value": {
"shares": {
"inner": {
"handle": "0xdbbf37c232ea1e07604611d594f32d361b13726c89cf25665019621cccf9586a"
},
"length": "0"
},
"total_coins": "0",
"total_shares": "0",
"scaling_factor": "10000000000000000"
},
"is_deleted": false,
"last_transaction_version": 125600867
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[
{
"key": "0x0000000000000000",
"transaction_version": 125600867,
"write_set_change_index": 9,
"transaction_block_height": 48784225,
"table_handle": "0x05fcc4bcab9aa598fad4bff10390484a76ab7fceca29e7a78c00ff145db7eb39",
"decoded_key": {
"index": "0"
},
"decoded_value": {
"shares": {
"inner": {
"handle": "0xdbbf37c232ea1e07604611d594f32d361b13726c89cf25665019621cccf9586a"
},
"length": "0"
},
"total_coins": "0",
"total_shares": "0",
"scaling_factor": "10000000000000000"
},
"is_deleted": false
},
{
"key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935",
"transaction_version": 125600867,
"write_set_change_index": 10,
"transaction_block_height": 48784225,
"table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca",
"decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935",
"decoded_value": "103028171374127440",
"is_deleted": false
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[
{
"table_handle": "0x103338a7bf343ce3a027cc93f5a039659f92ca1dfb07488f863ec874946f7de3",
"key_hash": "d2d839c570fde486f86cd0844b955701d74b258bf792fabd852ceba0c0970b9f",
"key": "0x2fd9dcfafccb7c4af95f62a2e1c720736394171810196fe5cf60b1cd335a40b4",
"decoded_key": "0x2fd9dcfafccb7c4af95f62a2e1c720736394171810196fe5cf60b1cd335a40b4",
"decoded_value": null,
"is_deleted": true,
"last_transaction_version": 126043288
},
{
"table_handle": "0xb744e4bc7e64146adaae0ff1f86b2e1229265d39683d142fc80b23006ae49ac3",
"key_hash": "d2d839c570fde486f86cd0844b955701d74b258bf792fabd852ceba0c0970b9f",
"key": "0x2fd9dcfafccb7c4af95f62a2e1c720736394171810196fe5cf60b1cd335a40b4",
"decoded_key": "0x2fd9dcfafccb7c4af95f62a2e1c720736394171810196fe5cf60b1cd335a40b4",
"decoded_value": null,
"is_deleted": true,
"last_transaction_version": 126043288
},
{
"table_handle": "0xcc401582c138de63fab2b47a5820c85b9eacee8c543e0daef120d94a4c7d7813",
"key_hash": "3b8386b8fac31732b9b0d3f2d03a4c1e5d3186a9d905fe4482b77e54bcebde08",
"key": "0x0000000000000000",
"decoded_key": {
"index": "0"
},
"decoded_value": {
"shares": {
"inner": {
"handle": "0xb744e4bc7e64146adaae0ff1f86b2e1229265d39683d142fc80b23006ae49ac3"
},
"length": "0"
},
"total_coins": "0",
"total_shares": "0",
"scaling_factor": "10000000000000000"
},
"is_deleted": false,
"last_transaction_version": 126043288
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
[
{
"key": "0x2fd9dcfafccb7c4af95f62a2e1c720736394171810196fe5cf60b1cd335a40b4",
"transaction_version": 126043288,
"write_set_change_index": 5,
"transaction_block_height": 48956686,
"table_handle": "0x103338a7bf343ce3a027cc93f5a039659f92ca1dfb07488f863ec874946f7de3",
"decoded_key": "0x2fd9dcfafccb7c4af95f62a2e1c720736394171810196fe5cf60b1cd335a40b4",
"decoded_value": null,
"is_deleted": true
},
{
"key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935",
"transaction_version": 126043288,
"write_set_change_index": 6,
"transaction_block_height": 48956686,
"table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca",
"decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935",
"decoded_value": "103037632846529620",
"is_deleted": false
},
{
"key": "0x2fd9dcfafccb7c4af95f62a2e1c720736394171810196fe5cf60b1cd335a40b4",
"transaction_version": 126043288,
"write_set_change_index": 7,
"transaction_block_height": 48956686,
"table_handle": "0xb744e4bc7e64146adaae0ff1f86b2e1229265d39683d142fc80b23006ae49ac3",
"decoded_key": "0x2fd9dcfafccb7c4af95f62a2e1c720736394171810196fe5cf60b1cd335a40b4",
"decoded_value": null,
"is_deleted": true
},
{
"key": "0x0000000000000000",
"transaction_version": 126043288,
"write_set_change_index": 8,
"transaction_block_height": 48956686,
"table_handle": "0xcc401582c138de63fab2b47a5820c85b9eacee8c543e0daef120d94a4c7d7813",
"decoded_key": {
"index": "0"
},
"decoded_value": {
"shares": {
"inner": {
"handle": "0xb744e4bc7e64146adaae0ff1f86b2e1229265d39683d142fc80b23006ae49ac3"
},
"length": "0"
},
"total_coins": "0",
"total_shares": "0",
"scaling_factor": "10000000000000000"
},
"is_deleted": false
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[
{
"key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935",
"transaction_version": 139442597,
"write_set_change_index": 3,
"transaction_block_height": 54325601,
"table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca",
"decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935",
"decoded_value": "103371128441233190",
"is_deleted": false
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Loading

0 comments on commit 936812a

Please sign in to comment.