Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Reset to main 16801958 and forbid the tx
  • Loading branch information
sanlee42 committed Mar 7, 2024
1 parent 5a6816c commit d0e1ed2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chain/open-block/src/lib.rs
Expand Up @@ -298,7 +298,7 @@ impl OpenedBlock {
pub struct AddressFilter;
//static BLACKLIST: [&str; 0] = [];
impl AddressFilter {
const ACTIVATION_BLOCK_NUMBER: BlockNumber = 21306000;
const ACTIVATION_BLOCK_NUMBER: BlockNumber = 16801958;
pub fn is_blacklisted(_raw_txn: &SignedUserTransaction, block_number: BlockNumber) -> bool {
block_number > Self::ACTIVATION_BLOCK_NUMBER
/*&& BLACKLIST
Expand Down
4 changes: 2 additions & 2 deletions storage/src/upgrade.rs
Expand Up @@ -22,10 +22,10 @@ use std::cmp::Ordering;

pub struct DBUpgrade;

pub static BARNARD_HARD_FORK_HEIGHT: BlockNumber = 21306000;
pub static BARNARD_HARD_FORK_HEIGHT: BlockNumber = 16057420;
pub static BARNARD_HARD_FORK_HASH: Lazy<HashValue> = Lazy::new(|| {
HashValue::from_hex_literal(
"0x3ba2430287c538668c2a3d96a98b57c1ec843f48b5a4e870149ec6289b80413b",
"0x602bb269e3a221510f82b0b812304e767457f73ac3203663bd401ef3d29bcc97",
)
.expect("")
});
Expand Down

0 comments on commit d0e1ed2

Please sign in to comment.