Skip to content

Commit 9db8e60

Browse files
committed
Merge branch 'main' into bump-go-ethereum
2 parents 54afa2e + 18318aa commit 9db8e60

37 files changed

+1292
-240
lines changed

book/src/framework/components/configuration.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,10 @@ In `TOML`:
3535
```
3636
[blockchain_a]
3737
chain_id = "31337"
38-
docker_cmd_params = ["--block-time=1"]
39-
image = "f4hrenh9it/foundry"
38+
image = "f4hrenh9it/foundry:latest"
4039
port = "8500"
41-
tag = "latest"
4240
type = "anvil"
41+
docker_cmd_params = ["-b", "1"]
4342
```
4443

4544
### Best practices for configuration and validation

book/src/framework/connecting_chainlink_node.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Create your configuration in `smoke.toml`
99
image = "f4hrenh9it/foundry:latest"
1010
port = "8545"
1111
type = "anvil"
12+
docker_cmd_params = ["-b", "1"]
13+
1214

1315
[cl_node]
1416

book/src/framework/first_test.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Create your configuration in `smoke.toml`
1111
image = "f4hrenh9it/foundry:latest"
1212
port = "8545"
1313
type = "anvil"
14+
docker_cmd_params = ["-b", "1"]
1415
```
1516

1617
Create your test in `smoke_test.go`

book/src/framework/nodeset_capabilities.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Create a configuration file `smoke.toml`
2121
image = "f4hrenh9it/foundry:latest"
2222
port = "8545"
2323
type = "anvil"
24+
docker_cmd_params = ["-b", "1"]
2425

2526
[nodeset]
2627
nodes = 5

book/src/framework/nodeset_compatibility.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Create a configuration file `smoke.toml`
99
image = "f4hrenh9it/foundry:latest"
1010
port = "8545"
1111
type = "anvil"
12+
docker_cmd_params = ["-b", "1"]
1213

1314
[nodeset]
1415
nodes = 5

book/src/framework/nodeset_docker_rebuild.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Create a configuration file `smoke.toml`
99
image = "f4hrenh9it/foundry:latest"
1010
port = "8545"
1111
type = "anvil"
12+
docker_cmd_params = ["-b", "1"]
1213

1314
[nodeset]
1415
nodes = 5

book/src/framework/nodeset_environment.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Create a configuration file `smoke.toml`
99
image = "f4hrenh9it/foundry:latest"
1010
port = "8545"
1111
type = "anvil"
12+
docker_cmd_params = ["-b", "1"]
13+
1214

1315
[nodeset]
1416
nodes = 5

framework/.changeset/v0.2.9.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- Zero seconds block and anvil mining control example
2+
- (Bug-fix) Always remove container registry if stopped

framework/CONFIGURATION.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,10 @@ In `TOML`:
3535
```
3636
[blockchain_a]
3737
chain_id = "31337"
38-
docker_cmd_params = ["--block-time=1"]
39-
image = "f4hrenh9it/foundry"
38+
image = "f4hrenh9it/foundry:latest"
4039
port = "8500"
41-
tag = "latest"
4240
type = "anvil"
41+
docker_cmd_params = ["-b", "1"]
4342
```
4443

4544
### Best practices for configuration and validation

framework/components/blockchain/anvil.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const (
2020
func deployAnvil(in *Input) (*Output, error) {
2121
ctx := context.Background()
2222
entryPoint := []string{"anvil"}
23-
defaultCmd := []string{"--host", "0.0.0.0", "--port", in.Port, "--chain-id", in.ChainID, "-b", "1"}
23+
defaultCmd := []string{"--host", "0.0.0.0", "--port", in.Port, "--chain-id", in.ChainID}
2424
entryPoint = append(entryPoint, defaultCmd...)
2525
entryPoint = append(entryPoint, in.DockerCmdParamsOverrides...)
2626
framework.L.Info().Any("Cmd", strings.Join(entryPoint, " ")).Msg("Creating anvil with command")

0 commit comments

Comments
 (0)