Skip to content

Commit

Permalink
foundry -> anvil
Browse files Browse the repository at this point in the history
  • Loading branch information
codabrink committed Oct 16, 2024
1 parent 3abcdd9 commit e0dffdf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 12 deletions.
6 changes: 3 additions & 3 deletions dev/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ services:
context: ../..
dockerfile: ./dev/validation_service/local.Dockerfile
environment:
FOUNDRY_URL: "http://foundry:8545"
ANVIL_URL: "http://anvil:8545"

foundry:
anvil:
build:
dockerfile: ./foundry.Dockerfile
dockerfile: ./anvil.Dockerfile
platform: linux/amd64
ports:
- 8545:8545
Expand Down
6 changes: 0 additions & 6 deletions dev/docker/foundry.Dockerfile

This file was deleted.

2 changes: 1 addition & 1 deletion dev/docker/up
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
set -eou pipefail
script_dir="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"

"${script_dir}"/compose pull
# "${script_dir}"/compose pull
"${script_dir}"/compose up -d --build
4 changes: 2 additions & 2 deletions xmtp_id/src/scw_verifier/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ impl MultiSmartContractSignatureVerifier {
};
});

if let Ok(url) = env::var("FOUNDRY_URL") {
info!("Adding foundry to the verifiers: {url}");
if let Ok(url) = env::var("ANVIL_URL") {
info!("Adding anvil to the verifiers: {url}");
self.verifiers.insert(
"eip155:31337".to_string(),
Box::new(RpcSmartContractWalletVerifier::new(url)),
Expand Down

0 comments on commit e0dffdf

Please sign in to comment.