mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 20:01:08 +00:00
Add Event to Pallet Transaction Payment (#11618)
* add Event to Pallet Transaction Payment * Fix tests in Pallet Balance * Fix tests in Pallet Balance/Executive/Asset-tx-payment. * Fix * fmt * Fix * Fix * Update Cargo.lock * Fix tests in executor * Update frame/transaction-payment/src/lib.rs Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> * update the name of the event and fmt. Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com> Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
This commit is contained in:
@@ -106,7 +106,7 @@ impl<H: Clone + AsRef<[u8]>> Database<H> for DbAdapter {
|
||||
}
|
||||
return None
|
||||
},
|
||||
Change::Reference(col, key) =>
|
||||
Change::Reference(col, key) => {
|
||||
if ref_counted_column(col) {
|
||||
// FIXME accessing value is not strictly needed, optimize this in parity-db.
|
||||
let value = <Self as Database<H>>::get(self, col, key.as_ref());
|
||||
@@ -116,7 +116,8 @@ impl<H: Clone + AsRef<[u8]>> Database<H> for DbAdapter {
|
||||
not_ref_counted_column.push(col);
|
||||
}
|
||||
return None
|
||||
},
|
||||
}
|
||||
},
|
||||
Change::Release(col, key) =>
|
||||
if ref_counted_column(col) {
|
||||
(col as u8, key.as_ref().to_vec(), None)
|
||||
|
||||
Reference in New Issue
Block a user