Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 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 crates/anvil/src/cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ mod tests {
let args: NodeArgs = NodeArgs::parse_from(["anvil", "--base"]);
assert_eq!(
args.evm.networks.base_upgrade(),
Some(foundry_evm_networks::BaseUpgrade::Cobalt)
Some(foundry_evm_networks::BaseUpgrade::Denim)
);
}

Expand Down
4 changes: 2 additions & 2 deletions crates/evm/networks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ alloy-primitives = { workspace = true, features = [
# github.com/base/base; bump via ./script/bump-base.sh. To iterate against a
# local base/base checkout instead, uncomment the [patch] block at the bottom
# of the workspace root Cargo.toml.
base-common-precompiles = { git = "https://github.com/base/base.git", rev = "f9d7bf5072faaf33b803d23f3102e4def1b23d75" }
base-common-chains = { git = "https://github.com/base/base.git", rev = "f9d7bf5072faaf33b803d23f3102e4def1b23d75" }
base-common-precompiles = { git = "https://github.com/base/base.git", rev = "990694fce8f1358b71cf0854e871f74e2a3e2cb9" }
base-common-chains = { git = "https://github.com/base/base.git", rev = "990694fce8f1358b71cf0854e871f74e2a3e2cb9" }

revm = { workspace = true, features = [
"std",
Expand Down
8 changes: 4 additions & 4 deletions crates/evm/networks/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const DEFAULT_BASE_ACTIVATION_ADMIN: Address =
/// `--base` is passed with no value. Deliberately not tied to upstream
/// `BaseUpgrade::LATEST` (`Beryl`), which lags base-anvil's own release
/// cadence; bump this alongside `./script/bump-base.sh` as new upgrades land.
const DEFAULT_BASE_UPGRADE: BaseUpgrade = BaseUpgrade::Cobalt;
const DEFAULT_BASE_UPGRADE: BaseUpgrade = BaseUpgrade::Denim;

pub mod celo;

Expand Down Expand Up @@ -118,7 +118,7 @@ pub struct NetworkConfigs {
long,
conflicts_with = "celo",
num_args(0..=1),
default_missing_value = "cobalt", // keep in sync with DEFAULT_BASE_UPGRADE
default_missing_value = "denim", // keep in sync with DEFAULT_BASE_UPGRADE
)]
#[serde(default, with = "base_flag")]
base: Option<BaseUpgrade>,
Expand Down Expand Up @@ -347,10 +347,10 @@ mod tests {

#[test]
fn default_missing_value_matches_default_base_upgrade() {
// Guards against the CLI's `default_missing_value = "cobalt"` string
// Guards against the CLI's `default_missing_value = "denim"` string
// literal drifting from `DEFAULT_BASE_UPGRADE`, since clap can't
// reference the constant directly.
assert_eq!("cobalt".parse::<BaseUpgrade>().unwrap(), DEFAULT_BASE_UPGRADE);
assert_eq!("denim".parse::<BaseUpgrade>().unwrap(), DEFAULT_BASE_UPGRADE);
}

#[test]
Expand Down
Loading