Skip to content

Commit

Permalink
fix: fix tx env epoch value
Browse files Browse the repository at this point in the history
  • Loading branch information
driftluo committed Oct 26, 2023
1 parent 9a0bdbd commit f8dc96e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/interoperation/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const GAS_TO_CYCLE_COEF: u64 = 6_000;
// The following information is from CKB block [10976708](https://explorer.nervos.org/block/10976708)
// which is CKB2023 disabled.
const CKB2023_DISABLED_NUMBER: u64 = 10_976_708;
const CKB2023_DISABLED_EPOCH: u64 = 0x53c007f0020c8;
const CKB2023_DISABLED_EPOCH: u64 = 0x20c8;

pub const fn gas_to_cycle(gas: u64) -> u64 {
gas * GAS_TO_CYCLE_COEF
Expand Down

0 comments on commit f8dc96e

Please sign in to comment.