-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testdata/scripts/nodes/evm/list: add test; common/client: fix names i…
…n multinode state map
- Loading branch information
Showing
13 changed files
with
82 additions
and
19 deletions.
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
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
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
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
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
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
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
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
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
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
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
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
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,63 @@ | ||
# start node | ||
exec sh -c 'eval "echo \"$(cat config.toml.tmpl)\" > config.toml"' | ||
exec chainlink node -c config.toml start -p password -a creds & | ||
|
||
# initialize client | ||
env NODEURL=http://localhost:$PORT | ||
exec curl --retry 10 --retry-max-time 60 --retry-connrefused $NODEURL | ||
exec chainlink --remote-node-url $NODEURL admin login -file creds --bypass-version-check | ||
|
||
exec chainlink --remote-node-url $NODEURL nodes evm list | ||
cmp stdout out.txt | ||
|
||
-- testdb.txt -- | ||
CL_DATABASE_URL | ||
-- testport.txt -- | ||
PORT | ||
|
||
-- password -- | ||
T.tLHkcmwePT/p,]sYuntjwHKAsrhm#4eRs4LuKHwvHejWYAC2JP4M8HimwgmbaZ | ||
-- creds -- | ||
notreal@fakeemail.ch | ||
fj293fbBnlQ!f9vNs | ||
|
||
-- config.toml.tmpl -- | ||
[Webserver] | ||
HTTPPort = $PORT | ||
|
||
[[EVM]] | ||
ChainID = '68472' | ||
|
||
[[EVM.Nodes]] | ||
Name = 'Blue' | ||
WSURL = 'wss://primaryfoo.bar/ws' | ||
HTTPURL = 'https://primaryfoo.bar' | ||
|
||
[[EVM.Nodes]] | ||
Name = 'Yellow' | ||
WSURL = 'wss://sendonlyfoo.bar/ws' | ||
HTTPURL = 'https://sendonlyfoo.bar' | ||
SendOnly = true | ||
|
||
-- out.txt -- | ||
|
||
----------------------------------- | ||
Name: Blue | ||
Chain ID: 68472 | ||
State: Unreachable | ||
Config: Name = 'Blue' | ||
WSURL = 'wss://primaryfoo.bar/ws' | ||
HTTPURL = 'https://primaryfoo.bar' | ||
Order = 100 | ||
|
||
----------------------------------- | ||
Name: Yellow | ||
Chain ID: 68472 | ||
State: Unreachable | ||
Config: Name = 'Yellow' | ||
WSURL = 'wss://sendonlyfoo.bar/ws' | ||
HTTPURL = 'https://sendonlyfoo.bar' | ||
SendOnly = true | ||
Order = 100 | ||
|
||
----------------------------------- |