Skip to content

Commit

Permalink
processor proto update. (#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
larry-aptos authored Jun 20, 2024
1 parent a5db889 commit 96c2efa
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/actions/protobuf-compatibility-check/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ runs:
curl -sSLf "$(curl -sSLf https://api.github.com/repos/tomwright/dasel/releases/latest | grep browser_download_url | grep linux_amd64 | grep -v .gz | cut -d\" -f 4)" -L -o dasel && chmod +x dasel
mv ./dasel /usr/local/bin/dasel
cd aptos-indexer-processors
tag_output=$(dasel -r toml -f rust/Cargo.toml workspace.dependencies.aptos-protos.tag -w - )
tag_output=$(dasel -r toml -f rust/Cargo.toml workspace.dependencies.aptos-protos.rev -w - )
echo "::set-output name=tag_output::$tag_output"
- name: Checkout aptos-core
Expand Down
2 changes: 1 addition & 1 deletion 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 @@ -19,7 +19,7 @@ aptos-moving-average = { path = "moving-average" }

ahash = { version = "0.8.7", features = ["serde"] }
anyhow = "1.0.62"
aptos-protos = { git = "https://github.com/aptos-labs/aptos-core.git", tag = "aptos-node-v1.12.1" }
aptos-protos = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "d76b5bb423b78b2b9affc72d3853f0d973d3f11f" }
aptos-system-utils = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "4541add3fd29826ec57f22658ca286d2d6134b93" }
async-trait = "0.1.53"
backtrace = "0.3.58"
Expand Down
15 changes: 15 additions & 0 deletions rust/processor/src/db/common/models/default_models/transactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,21 @@ impl Transaction {
vec![],
vec![],
),
TxnData::BlockEpilogue(_) => (
Self::from_transaction_info_with_data(
transaction_info,
None,
None,
version,
transaction_type,
0,
block_height,
epoch,
),
None,
vec![],
vec![],
),
}
}

Expand Down

0 comments on commit 96c2efa

Please sign in to comment.