-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Frankie/core#v0.3.0.rc 1 #421
Merged
Merged
Changes from all commits
Commits
Show all changes
67 commits
Select commit
Hold shift + click to select a range
ee9ad3d
Closes #381: Add 2 more validators, providing 4 nodes in the devnet.
vitropy 429823e
update the dev/README
frankiebee 7701721
tests - are failing
frankiebee 33fc49f
Add hostname addressing for `dave`'s and `eve`'s TSS server, too.
vitropy 4a78ac7
Suggest newer Docker CLI habits. Fix typo in stderr output.
vitropy 0c26d63
Mount the `./dev` directory into the devnet containers.
vitropy 41b130c
Merge remote-tracking branch 'origin' into vi/four-nodes
mixmix 0cd6c17
chain to proper chain name
JesseAbram 267a3bf
update release to new version and update four-nodes script
frankiebee b949a5c
https://github.com/entropyxyz/entropy-core/pull/1086 use Charlie
frankiebee 4b1bd8c
generate types for substarte and update polkadotjs
frankiebee fb5d546
wip: test siging group
frankiebee e6dbf46
wip: jumpStartNetwork
frankiebee 15e5d0e
Merge branch 'main' of github.com:entropyxyz/sdk into frankie/core#v0…
frankiebee 35b2880
eve -> charlie and fix daves port
frankiebee 7fbb851
jumpStartNetwork where its needed
frankiebee 13730f5
use four-nodes script
frankiebee 7625923
wip: siging
frankiebee bfca0e0
wip
frankiebee 862b620
fix patch for @polkadot/util
mixmix c8daea8
githcub CI: timeout after 45mins
mixmix 2d8e084
jumpStartNetwork timeout
mixmix a09027f
ensure all nodes spun down
mixmix df69df1
add time out
frankiebee 2e063b2
wip: siging
frankiebee 1453fb3
rename "jump-start network"
mixmix 6c1463a
mention hosts file editing
mixmix a27ac9d
two-nodes -> four-nodes
frankiebee 2bbce3f
throw in jumpStart if it's not a full validator network we are jump s…
frankiebee c7d6225
update
frankiebee 51e9e87
Merge branch 'frankie/core#v0.3.0.rc-1' into mixmix/core-release-tweaks
frankiebee 5b360bd
Mixmix/core release tweaks (#422)
frankiebee 8f44b40
add timeout
frankiebee 8f14580
Merge branch 'frankie/core#v0.3.0.rc-1' of github.com:entropyxyz/sdk …
frankiebee 69fb541
rm old file
frankiebee a993eca
fix jump statrt
frankiebee 16e6553
uncomment the rest of the tests
frankiebee f851b77
double the tries for github actions cause the nodes doubled
frankiebee d37e1fd
spooky json now lives && remove two-nodes
frankiebee 23c328e
verifyAndReduceSignatures -> #verifyAndPick
frankiebee ee80e6f
remove signing group test (protocol no longer has signing groups)
frankiebee 0232701
added exit command to timout for jumpstart
rh0delta ce971b7
updated comment
rh0delta 9ebe19b
moving error handle to try catch
rh0delta 84c85ba
some logging for ci help
frankiebee 2dac81b
unsub before reject and exit
frankiebee 5c9c8b6
Merge branch 'frankie/core#v0.3.0.rc-1' of github.com:entropyxyz/sdk …
frankiebee 993529b
clarify logs
frankiebee d60c7ab
Merge branch 'frankie/core#v0.3.0.rc-1' of github.com:entropyxyz/sdk …
frankiebee ef43e62
more logging
frankiebee 963662b
retry jumpstart every 10 blocks
frankiebee e020de1
some more logging
frankiebee f3467df
retry at 50 blocks
frankiebee 0269ffb
missing jumpstart
frankiebee f06791b
woops still some two-node in their
frankiebee 92f15a4
fix logging
frankiebee 6f1d3c9
retry at 50 again
frankiebee 1914c31
remove timeout in favor of block counting
frankiebee 8ba3785
slim down the logging and charlies balance cant be trusted
frankiebee f229cf6
use eve, && make loging optional for jumpstart
frankiebee ade90aa
spindown now has a ENTROPY_DONT_KILL env
frankiebee 9f09fcd
woops
frankiebee c49ffa5
add script for publishing a pre release
frankiebee 0c0ab1d
no need to jump start here
frankiebee 7a12dc4
core: v0.3.0
frankiebee a898eaf
clean up the submitTransactionRequest parse unparse nonsense
frankiebee 101a176
Update package.json
mixmix File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#! /usr/bin/env bash | ||
|
||
export ENTROPY_CORE_VERSION=release-v0.2.0 | ||
export ENTROPY_CORE_VERSION=release-v0.3.0 |
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,5 @@ | ||
#! /usr/bin/env bash | ||
|
||
rm -rf .entropy | ||
docker compose --file dev/docker-scripts/four-nodes.yaml down 2> /dev/null | ||
docker compose --file dev/docker-scripts/one-node-no-tss.yaml down 2> /dev/null |
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,152 @@ | ||
# Docker Compose file for making an Entropy blockchain network. | ||
# Currently, it's intended for LOCAL DEVNET FUNCTIONALITY ONLY. | ||
# Things will get better and more generic, but for the moment | ||
# this iteration is for simplifying the dogfooding and testing | ||
# workflows our engineers use, and trying to cut down on some | ||
# of the more complicated test code that spins up this kind of | ||
# environment for their tests. Eventually, we will converge on | ||
# a more canonical set of environments and configuration files. | ||
--- | ||
name: entropy-devnet-local-4-nodes | ||
|
||
services: | ||
alice-tss-server: | ||
# This pulls from Docker Hub, so you can replace the image tag name | ||
# (the string after the `:` in the `image` key) with chatCharlier tag | ||
# name you'd like to use. Each Docker image is built from a specific | ||
# commit in the `entropy-core` repository. Refer to the wiki page at | ||
# https://github.com/entropyxyz/meta/wiki/Git#conventions for details | ||
# about how Git tags, branches, and commits refer to image tags here. | ||
image: entropyxyz/entropy-tss:${ENTROPY_CORE_VERSION:-latest} | ||
ports: | ||
- "127.0.0.1:3001:3001/tcp" | ||
command: | ||
- "--alice" | ||
- "--threshold-url" | ||
- "0.0.0.0:3001" | ||
- "--chain-endpoint" | ||
- "ws://alice-chain-node:9944" | ||
- "--no-sync" | ||
|
||
alice-chain-node: | ||
image: entropyxyz/entropy:${ENTROPY_CORE_VERSION:-latest} | ||
ports: | ||
- "127.0.0.1:9944:9944/tcp" | ||
volumes: | ||
- ${PWD}/dev:/srv/entropy/dev | ||
command: | ||
- "--chain" | ||
- "devnet-local" | ||
- "--alice" | ||
- "--base-path" | ||
- ".entropy/alice" | ||
- "--rpc-port" | ||
- "9944" | ||
- "--rpc-cors" | ||
- "all" | ||
- "--unsafe-rpc-external" # Intentional, for TSS's access. | ||
- "--node-key=0000000000000000000000000000000000000000000000000000000000000001" | ||
- "--tss-server-endpoint" | ||
- "http://alice-tss-server:3001" | ||
|
||
bob-tss-server: | ||
image: entropyxyz/entropy-tss:${ENTROPY_CORE_VERSION:-latest} | ||
ports: | ||
- "127.0.0.1:3002:3002/tcp" | ||
command: | ||
- "--bob" | ||
- "--threshold-url" | ||
- "0.0.0.0:3002" | ||
- "--chain-endpoint" | ||
- "ws://bob-chain-node:9944" | ||
- "--no-sync" | ||
|
||
# "Bob's chain node." | ||
bob-chain-node: | ||
image: entropyxyz/entropy:${ENTROPY_CORE_VERSION:-latest} | ||
ports: | ||
- "127.0.0.1:9945:9944/tcp" | ||
volumes: | ||
- ${PWD}/dev:/srv/entropy/dev | ||
command: | ||
- "--chain" | ||
- "devnet-local" | ||
- "--bob" | ||
- "--base-path" | ||
- ".entropy/bob" | ||
- "--rpc-port" | ||
- "9944" | ||
- "--rpc-cors" | ||
- "all" | ||
- "--unsafe-rpc-external" # Intentional, for TSS's access. | ||
- "--bootnodes" | ||
- "/dns4/alice-chain-node/tcp/30333/p2p/12D3KooWEyoppNCUx8Yx66oV9fJnriXwCcXwDDUA2kj6vnc6iDEp" | ||
- "--tss-server-endpoint" | ||
- "http://bob-tss-server:3002" | ||
|
||
charlie-tss-server: | ||
image: entropyxyz/entropy-tss:${ENTROPY_CORE_VERSION:-latest} | ||
ports: | ||
- "127.0.0.1:3003:3003/tcp" | ||
command: | ||
- "--charlie" | ||
- "--threshold-url" | ||
- "0.0.0.0:3003" | ||
- "--chain-endpoint" | ||
- "ws://charlie-chain-node:9944" | ||
- "--no-sync" | ||
|
||
charlie-chain-node: | ||
image: entropyxyz/entropy:${ENTROPY_CORE_VERSION:-latest} | ||
ports: | ||
- "127.0.0.1:9946:9944/tcp" | ||
volumes: | ||
- ${PWD}/dev:/srv/entropy/dev | ||
command: | ||
- "--chain" | ||
- "devnet-local" | ||
- "--charlie" # Shortcut for `--name Charlie --validator` | ||
- "--base-path" | ||
- ".entropy/charlie" | ||
- "--rpc-port" | ||
- "9944" | ||
- "--rpc-cors" | ||
- "all" | ||
- "--unsafe-rpc-external" # Intentional, for TSS's access. | ||
- "--bootnodes" | ||
- "/dns4/alice-chain-node/tcp/30333/p2p/12D3KooWEyoppNCUx8Yx66oV9fJnriXwCcXwDDUA2kj6vnc6iDEp" | ||
- "--tss-server-endpoint" | ||
- "http://charlie-tss-server:3003" | ||
dave-tss-server: | ||
image: entropyxyz/entropy-tss:${ENTROPY_CORE_VERSION:-latest} | ||
ports: | ||
- "127.0.0.1:3004:3004/tcp" | ||
command: | ||
- "--dave" | ||
- "--threshold-url" | ||
- "0.0.0.0:3004" | ||
- "--chain-endpoint" | ||
- "ws://dave-chain-node:9944" | ||
- "--no-sync" | ||
|
||
dave-chain-node: | ||
image: entropyxyz/entropy:${ENTROPY_CORE_VERSION:-latest} | ||
ports: | ||
- "127.0.0.1:9947:9944/tcp" | ||
volumes: | ||
- ${PWD}/dev:/srv/entropy/dev | ||
command: | ||
- "--chain" | ||
- "devnet-local" | ||
- "--dave" # Shortcut for `--name Dave --validator` | ||
- "--base-path" | ||
- ".entropy/dave" | ||
- "--rpc-port" | ||
- "9944" | ||
- "--rpc-cors" | ||
- "all" | ||
- "--unsafe-rpc-external" # Intentional, for TSS's access. | ||
- "--bootnodes" | ||
- "/dns4/alice-chain-node/tcp/30333/p2p/12D3KooWEyoppNCUx8Yx66oV9fJnriXwCcXwDDUA2kj6vnc6iDEp" | ||
- "--tss-server-endpoint" | ||
- "http://dave-tss-server:3004" |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥 I don't know if we want this to default to
latest
do we?I 100% want to know what the version is I'm running and if I forgot to set the
ENTROPY_CORE_VERSION
this feels like I'm gonna get some random surprise version 👎There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this
-latest
came as a suggestion from @vitropy i believe i am hestant to remove this as i want to get the latest build for this version tag that i am asking forThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mixmix I think @frankiebee is correct here: if you 100% want to know what the version you are running is, simply set
ENTROPY_CORE_VERSION
in your environment. That is what this variable is for. See Environment variables in our Wiki. If you don't set it, then getting thelatest
tag mimics the behavior of all other Docker default commands, which is what 99% of users are going to want.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I get this is a fallback. I just think it might be a foot-gun. Fine to wait and see though!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets wait and see