-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip(build): move foundry back to Nightly (2024-07-19)
- Loading branch information
1 parent
bebf8f0
commit 3d51bfd
Showing
3 changed files
with
102 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# This compose file contains the redis and authority-claimer containers. | ||
|
||
name: rollups-node | ||
services: | ||
|
||
node: | ||
environment: | ||
CARTESI_EXPERIMENTAL_SUNODO_VALIDATOR_ENABLED: "true" | ||
CARTESI_EXPERIMENTAL_SUNODO_VALIDATOR_REDIS_ENDPOINT: "redis://redis:6379" | ||
|
||
redis: | ||
image: redis:7-alpine | ||
ports: | ||
- 6379:6379 | ||
|
||
claimer: | ||
image: "cartesi/rollups-node:devel" | ||
command: | ||
- "/bin/bash" | ||
- "-c" | ||
- | | ||
redis-cli -u redis://redis:6379 SADD experimental-dapp-addresses-config "7C54E3f7A8070a54223469965A871fB8f6f88c22" | ||
cartesi-rollups-authority-claimer | ||
depends_on: | ||
- redis | ||
environment: | ||
TX_PROVIDER_HTTP_ENDPOINT: "http://devnet:8545" | ||
TX_DEFAULT_CONFIRMATIONS: "1" | ||
TX_CHAIN_IS_LEGACY: "false" | ||
TX_CHAIN_ID: "31337" | ||
RUST_LOG: "info" | ||
LOG_ENABLE_TIMESTAMP: "false" | ||
HISTORY_ADDRESS: "0x325272217ae6815b494bF38cED004c5Eb8a7CdA7" | ||
GENESIS_BLOCK: "20" | ||
AUTHORITY_ADDRESS: "0x58c93F83fb3304730C95aad2E360cdb88b782010" | ||
REDIS_ENDPOINT: "redis://redis:6379" | ||
TX_SIGNING_MNEMONIC: "test test test test test test test test test test test junk" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
diff --git a/Makefile b/Makefile | ||
index ac3fea1a..b0416ea4 100644 | ||
--- a/Makefile | ||
+++ b/Makefile | ||
@@ -85,6 +85,16 @@ docker-run-sepolia: docker-clean ## Run the node with the sepolia testnet | ||
-f ./build/compose-sepolia.yaml \ | ||
up | ||
|
||
+.PHONY: docker-run-experimental | ||
+docker-run-experimental: docker-clean ## Run the node with CARTESI_EXPERIMENTAL_SUNODO_VALIDATOR_ENABLED=true | ||
+ @docker compose \ | ||
+ -f ./build/compose-database.yaml \ | ||
+ -f ./build/compose-devnet.yaml \ | ||
+ -f ./build/compose-snapshot.yaml \ | ||
+ -f ./build/compose-node.yaml \ | ||
+ -f ./build/compose-experimental.yaml \ | ||
+ up --force-recreate | ||
+ | ||
.PHONY: docker-clean | ||
docker-clean: ## Remove the containers and volumes from previous compose run | ||
@docker compose \ | ||
diff --git a/build/compose-experimental.yaml b/build/compose-experimental.yaml | ||
new file mode 100644 | ||
index 00000000..53c88d94 | ||
--- /dev/null | ||
+++ b/build/compose-experimental.yaml | ||
@@ -0,0 +1,37 @@ | ||
+# This compose file contains the redis and authority-claimer containers. | ||
+ | ||
+name: rollups-node | ||
+services: | ||
+ | ||
+ node: | ||
+ environment: | ||
+ CARTESI_EXPERIMENTAL_SUNODO_VALIDATOR_ENABLED: "true" | ||
+ CARTESI_EXPERIMENTAL_SUNODO_VALIDATOR_REDIS_ENDPOINT: "redis://redis:6379" | ||
+ | ||
+ redis: | ||
+ image: redis:7-alpine | ||
+ ports: | ||
+ - 6379:6379 | ||
+ | ||
+ claimer: | ||
+ image: "cartesi/rollups-node:devel" | ||
+ command: | ||
+ - "/bin/bash" | ||
+ - "-c" | ||
+ - | | ||
+ redis-cli -u redis://redis:6379 SADD experimental-dapp-addresses-config "7C54E3f7A8070a54223469965A871fB8f6f88c22" | ||
+ cartesi-rollups-authority-claimer | ||
+ depends_on: | ||
+ - redis | ||
+ environment: | ||
+ TX_PROVIDER_HTTP_ENDPOINT: "http://devnet:8545" | ||
+ TX_DEFAULT_CONFIRMATIONS: "1" | ||
+ TX_CHAIN_IS_LEGACY: "false" | ||
+ TX_CHAIN_ID: "31337" | ||
+ RUST_LOG: "info" | ||
+ LOG_ENABLE_TIMESTAMP: "false" | ||
+ HISTORY_ADDRESS: "0x325272217ae6815b494bF38cED004c5Eb8a7CdA7" | ||
+ GENESIS_BLOCK: "20" | ||
+ AUTHORITY_ADDRESS: "0x58c93F83fb3304730C95aad2E360cdb88b782010" | ||
+ REDIS_ENDPOINT: "redis://redis:6379" | ||
+ TX_SIGNING_MNEMONIC: "test test test test test test test test test test test junk" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters