Skip to content

Commit ba377b8

Browse files
NingLin-Pvedhavyas
authored andcommitted
Disable the domain balance bookkepping
Signed-off-by: linning <[email protected]>
1 parent 97aa1fe commit ba377b8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

crates/pallet-domains/src/block_tree.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,8 +414,10 @@ pub(crate) fn process_execution_receipt<T: Config>(
414414
Error::InvalidDomainTransfers
415415
);
416416

417-
update_domain_transfers::<T>(domain_id, &execution_receipt.transfers, block_fees)
418-
.map_err(|_| Error::DomainTransfersTracking)?;
417+
// FIXME: the domain balance bookkeeping check is problematic, disable it temporarily
418+
// NOTE: we can't simple ignore the error because there will be partial state change persisted
419+
// update_domain_transfers::<T>(domain_id, &execution_receipt.transfers, block_fees)
420+
// .map_err(|_| Error::DomainTransfersTracking)?;
419421

420422
update_domain_runtime_upgrade_records::<T>(
421423
domain_id,

0 commit comments

Comments
 (0)