Skip to content

Commit

Permalink
fix: Adds missing handler in token manager (#471)
Browse files Browse the repository at this point in the history
Co-authored-by: aventus-ci-agent <[email protected]>
  • Loading branch information
thadouk and aventus-ci-agent authored Jan 13, 2025
1 parent 7eda9be commit 3f01053
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 21 deletions.
40 changes: 20 additions & 20 deletions 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 Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ lto = "fat"
codegen-units = 1

[workspace.package]
version = "6.6.0"
version = "6.6.1"
authors = ["Aventus systems team"]
homepage = "https://www.aventus.io/"
repository = "https://github.com/Aventus-Network-Services/avn-node-parachain/"
Expand Down
4 changes: 4 additions & 0 deletions pallets/token-manager/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1220,6 +1220,10 @@ impl<T: Config> TokenInterface<T::TokenId, T::AccountId> for Pallet<T> {
let lifted_data = LiftedData::new(d.token_contract, d.receiver_address, d.amount);
return Self::process_lift(event, &lifted_data)
},
EventData::LogErc20Transfer(d) => {
let lifted_data = LiftedData::new(d.token_contract, d.receiver_address, d.amount);
return Self::process_lift(event, &lifted_data)
},

// Any other event should not be calling this hook, they should use the regular lift
// pathway
Expand Down

0 comments on commit 3f01053

Please sign in to comment.