-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' into council_overhaul
- Loading branch information
Showing
373 changed files
with
68,648 additions
and
35,577 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"configurations": [ | ||
{ | ||
"type": "command", | ||
"name": "ignite chain serve -v", | ||
"program": "./ignite", | ||
"args": ["chain", "serve", "-v"] | ||
}, | ||
] | ||
} |
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 |
---|---|---|
|
@@ -34,7 +34,7 @@ jobs: | |
args: chain build --release --release.prefix ${{ steps.vars.outputs.tarball_prefix }} -t linux:amd64 -t darwin:amd64 --yes | ||
|
||
- name: Delete the "latest" Release | ||
uses: dev-drprasad/[email protected].0 | ||
uses: dev-drprasad/[email protected].1 | ||
if: ${{ steps.vars.outputs.is_release_type_latest == 'true' }} | ||
with: | ||
tag_name: ${{ steps.vars.outputs.tag_name }} | ||
|
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,4 +1,4 @@ | ||
/blockchain-data | ||
/backup | ||
vue/node_modules | ||
vue/dist | ||
/vue | ||
|
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,18 +1,46 @@ | ||
FROM ignitehq/cli:0.20.4 | ||
|
||
FROM ignitehq/cli:v0.26.1 | ||
|
||
|
||
USER root | ||
RUN apt-get -y -qq update && \ | ||
apt-get install -y -qq apt-transport-https curl wget unzip screen bash jq python3 pip && \ | ||
apt-get clean | ||
|
||
# install python script to download genesis | ||
RUN pip install tendermint-chunked-genesis-download | ||
|
||
|
||
|
||
# install correct go version | ||
RUN wget https://go.dev/dl/go1.20.2.linux-amd64.tar.gz | ||
RUN tar -xvf go1.20.2.linux-amd64.tar.gz | ||
RUN rm /usr/local/go -rf | ||
RUN mv go /usr/local | ||
|
||
USER tendermint | ||
WORKDIR /home/tendermint | ||
|
||
RUN export GOPATH=$HOME/go | ||
RUN wget https://github.com/DecentralCardGame/go-faucet/archive/master.zip && \ | ||
unzip master.zip -d . && cd go-faucet-master && go build | ||
|
||
EXPOSE 1317 | ||
EXPOSE 26657 | ||
EXPOSE 26658 | ||
EXPOSE 9090 | ||
EXPOSE 9091 | ||
EXPOSE 4500 | ||
|
||
WORKDIR . | ||
COPY --chown=tendermint:tendermint . . | ||
|
||
RUN chmod +x ./docker-run.sh | ||
|
||
RUN ignite chain build | ||
#RUN ignite chain init | ||
#RUN python3 ./scripts/migrate_with_data.py ./blockchain-data/exported_genesis.json ~/.Cardchain/config/genesis.json | ||
RUN ignite chain init | ||
|
||
COPY scripts/download_genesis.py download_genesis.py | ||
RUN python3 download_genesis.py | ||
RUN mv genesis.json $HOME/.Cardchain/config/genesis.json | ||
RUN wget -O $HOME/.Cardchain/config/addrbook.json "https://raw.githubusercontent.com/DecentralCardGame/Testnet/main/addrbook.json" | ||
|
||
ENTRYPOINT ./docker-run.sh | ||
RUN chmod +x ./docker-run.sh | ||
ENTRYPOINT bash docker-run.sh |
Oops, something went wrong.