Commit f0e09d4
committed
fix(test): skip ethereum mainnet integration when RPC URL is missing
Local runs of go test -tags=integration ./... now skip rather than fail
when ETHEREUM_MAINNET_RPC_URL is not configured. CI still sets the var, so
behavior there is unchanged. Also clarify that blockByNumber returns a
header-only block.1 parent f752cef commit f0e09d4
2 files changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
| 453 | + | |
| 454 | + | |
453 | 455 | | |
454 | 456 | | |
455 | 457 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments