From 06de00bd568f2fc23b1d8855df882f5d454f181c Mon Sep 17 00:00:00 2001 From: Patrick Wieth Date: Thu, 10 Aug 2023 16:13:34 +0200 Subject: [PATCH] update Dockerfile --- Dockerfile | 36 +++- docs/static/openapi.yml | 383 ++++++++++++++++++---------------------- go.sum | 2 + ignite | 36 ---- 4 files changed, 206 insertions(+), 251 deletions(-) delete mode 100755 ignite diff --git a/Dockerfile b/Dockerfile index 43678f2f..32fe2012 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,24 @@ -FROM ignitehq/cli:0.20.4 + +FROM ignitehq/cli:v0.27.1 + + +USER root +RUN apt-get -y -qq update && \ + apt-get install -y -qq apt-transport-https curl wget unzip screen && \ + apt-get clean +# +# install jq to parse json within bash scripts +RUN curl -o /usr/local/bin/jq http://stedolan.github.io/jq/download/linux64/jq && \ + chmod +x /usr/local/bin/jq + + + +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 @@ -6,13 +26,17 @@ EXPOSE 26658 EXPOSE 9090 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 + +#RUN mkdir -p $HOME/.Cardchain/config +RUN wget -O $HOME/.Cardchain/config/genesis.json "https://raw.githubusercontent.com/DecentralCardGame/Testnet/Testnet4/genesis.json" +RUN wget -O $HOME/.Cardchain/config/addrbook.json "https://raw.githubusercontent.com/DecentralCardGame/Testnet/Testnet4/addrbook.json" -ENTRYPOINT ./docker-run.sh +RUN echo $HOME + +RUN chmod +x ./docker-run.sh +ENTRYPOINT ./docker-run.sh \ No newline at end of file diff --git a/docs/static/openapi.yml b/docs/static/openapi.yml index a493c567..fa52dc13 100644 --- a/docs/static/openapi.yml +++ b/docs/static/openapi.yml @@ -871,6 +871,7 @@ paths: type: object properties: account: + description: account defines the account of the corresponding address. type: object properties: '@type': @@ -931,114 +932,6 @@ paths: used with implementation specific semantics. additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values in - the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by default - use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the last - '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with an - - additional field `@type` which contains the type URL. Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding a - field - - `value` which holds the custom JSON in addition to the `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } description: >- QueryAccountResponse is the response type for the Query/Account RPC method. @@ -9985,7 +9878,11 @@ paths: PageRequest.count_total was set, its value is undefined otherwise +<<<<<<< HEAD + description: |- +======= description: >- +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. default: @@ -10797,7 +10694,11 @@ paths: type: object properties: commission: +<<<<<<< HEAD + description: commission defines the commision the validator received. +======= description: commission defines the commission the validator received. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 type: object properties: commission: @@ -12839,18 +12740,28 @@ paths: type: object properties: voting_params: +<<<<<<< HEAD + description: voting_params defines the parameters related to voting. +======= description: |- Deprecated: Prefer to use `params` instead. voting_params defines the parameters related to voting. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 type: object properties: voting_period: type: string +<<<<<<< HEAD + description: Length of the voting period. + deposit_params: + description: deposit_params defines the parameters related to deposit. +======= description: Duration of the voting period. deposit_params: description: |- Deprecated: Prefer to use `params` instead. deposit_params defines the parameters related to deposit. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 type: object properties: min_deposit: @@ -12876,12 +12787,18 @@ paths: description: >- Maximum period for Atom holders to deposit on a proposal. Initial value: 2 +<<<<<<< HEAD + months. + tally_params: + description: tally_params defines the parameters related to tally. +======= months. tally_params: description: |- Deprecated: Prefer to use `params` instead. tally_params defines the parameters related to tally. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 type: object properties: quorum: @@ -12955,6 +12872,8 @@ paths: Minimum value of Veto votes to Total votes ratio for proposal to be vetoed. Default value: 1/3. +<<<<<<< HEAD +======= min_initial_deposit_ratio: type: string description: >- @@ -12969,6 +12888,7 @@ paths: burn_vote_veto: type: boolean title: burn deposits if quorum with vote type no_veto is met +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 description: >- QueryParamsResponse is the response type for the Query/Params RPC method. @@ -13403,9 +13323,12 @@ paths: description: no_count is the number of no votes on a proposal. no_with_veto_count: type: string +<<<<<<< HEAD +======= description: >- no_with_veto_count is the number of no with veto votes on a proposal. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 submit_time: type: string format: date-time @@ -14001,9 +13924,12 @@ paths: description: no_count is the number of no votes on a proposal. no_with_veto_count: type: string +<<<<<<< HEAD +======= description: >- no_with_veto_count is the number of no with veto votes on a proposal. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 submit_time: type: string format: date-time @@ -14617,7 +14543,10 @@ paths: custom method signatures required by gogoproto. +<<<<<<< HEAD +======= description: amount to be deposited by depositor. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 description: >- QueryDepositResponse is the response type for the Query/Deposit RPC method. @@ -14847,9 +14776,12 @@ paths: description: no_count is the number of no votes on a proposal. no_with_veto_count: type: string +<<<<<<< HEAD +======= description: >- no_with_veto_count is the number of no with veto votes on a proposal. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 description: >- QueryTallyResultResponse is the response type for the Query/Tally RPC method. @@ -15389,7 +15321,11 @@ paths: type: object properties: vote: +<<<<<<< HEAD + description: vote defined the queried vote. +======= description: vote defines the queried vote. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 type: object properties: proposal_id: @@ -15648,7 +15584,11 @@ paths: properties: voting_period: type: string +<<<<<<< HEAD + description: Length of the voting period. +======= description: Duration of the voting period. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 deposit_params: description: deposit_params defines the parameters related to deposit. type: object @@ -15676,8 +15616,12 @@ paths: description: >- Maximum period for Atom holders to deposit on a proposal. Initial value: 2 +<<<<<<< HEAD + months. +======= months. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 tally_params: description: tally_params defines the parameters related to tally. type: object @@ -15702,8 +15646,12 @@ paths: description: >- Minimum value of Veto votes to Total votes ratio for proposal to be +<<<<<<< HEAD + vetoed. Default value: 1/3. +======= vetoed. Default value: 1/3. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 description: >- QueryParamsResponse is the response type for the Query/Params RPC method. @@ -16021,9 +15969,12 @@ paths: description: no is the number of no votes on a proposal. no_with_veto: type: string +<<<<<<< HEAD +======= description: >- no_with_veto is the number of no with veto votes on a proposal. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 submit_time: type: string format: date-time @@ -16482,9 +16433,12 @@ paths: description: no is the number of no votes on a proposal. no_with_veto: type: string +<<<<<<< HEAD +======= description: >- no_with_veto is the number of no with veto votes on a proposal. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 submit_time: type: string format: date-time @@ -17084,7 +17038,10 @@ paths: custom method signatures required by gogoproto. +<<<<<<< HEAD +======= description: amount to be deposited by depositor. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 description: >- QueryDepositResponse is the response type for the Query/Deposit RPC method. @@ -17312,9 +17269,12 @@ paths: description: no is the number of no votes on a proposal. no_with_veto: type: string +<<<<<<< HEAD +======= description: >- no_with_veto is the number of no with veto votes on a proposal. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 description: >- QueryTallyResultResponse is the response type for the Query/Tally RPC method. @@ -17873,7 +17833,11 @@ paths: type: object properties: vote: +<<<<<<< HEAD + description: vote defined the queried vote. +======= description: vote defines the queried vote. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 type: object properties: proposal_id: @@ -17929,10 +17893,14 @@ paths: Since: cosmos-sdk 0.43 +<<<<<<< HEAD + title: 'Since: cosmos-sdk 0.43' +======= description: |- options is the weighted vote options. Since: cosmos-sdk 0.43 +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 description: >- QueryVoteResponse is the response type for the Query/Vote RPC method. @@ -27836,6 +27804,8 @@ paths: Since: cosmos-sdk 0.46 +<<<<<<< HEAD +======= unbonding_on_hold_ref_count: type: string format: int64 @@ -27850,6 +27820,7 @@ paths: title: >- list of unbonding ids, each uniquely identifing an unbonding of this validator +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 description: |- QueryDelegatorValidatorResponse response type for the Query/DelegatorValidator RPC method. @@ -29699,6 +29670,8 @@ paths: Since: cosmos-sdk 0.46 +<<<<<<< HEAD +======= unbonding_on_hold_ref_count: type: string format: int64 @@ -29713,6 +29686,7 @@ paths: title: >- list of unbonding ids, each uniquely identifing an unbonding of this validator +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 title: >- QueryValidatorResponse is response type for the Query/Validator RPC method @@ -48092,6 +48066,7 @@ definitions: type: object properties: account: + description: account defines the account of the corresponding address. type: object properties: '@type': @@ -48147,107 +48122,6 @@ definitions: used with implementation specific semantics. additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values in the - form - - of utility functions or additional generated methods of the Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by default use - - 'type.googleapis.com/full.type.name' as the type URL and the unpack - - methods only use the fully qualified type name after the last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield type - - name "y.z". - - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with an - - additional field `@type` which contains the type URL. Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom JSON - - representation, that representation will be embedded adding a field - - `value` which holds the custom JSON in addition to the `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } description: >- QueryAccountResponse is the response type for the Query/Account RPC method. @@ -54073,7 +53947,11 @@ definitions: PageRequest.count_total was set, its value is undefined otherwise +<<<<<<< HEAD + description: |- +======= description: >- +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. cosmos.base.tendermint.v1beta1.GetNodeInfoResponse: @@ -54365,7 +54243,11 @@ definitions: PageRequest.count_total was set, its value is undefined otherwise +<<<<<<< HEAD + description: |- +======= description: >- +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. cosmos.base.tendermint.v1beta1.Header: @@ -57709,7 +57591,11 @@ definitions: type: object properties: commission: +<<<<<<< HEAD + description: commission defines the commision the validator received. +======= description: commission defines the commission the validator received. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 type: object properties: commission: @@ -58877,9 +58763,12 @@ definitions: description: no_count is the number of no votes on a proposal. no_with_veto_count: type: string +<<<<<<< HEAD +======= description: >- no_with_veto_count is the number of no with veto votes on a proposal. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 submit_time: type: string format: date-time @@ -58982,7 +58871,10 @@ definitions: method signatures required by gogoproto. +<<<<<<< HEAD +======= description: amount to be deposited by depositor. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 description: >- QueryDepositResponse is the response type for the Query/Deposit RPC method. @@ -59051,18 +58943,28 @@ definitions: type: object properties: voting_params: +<<<<<<< HEAD + description: voting_params defines the parameters related to voting. +======= description: |- Deprecated: Prefer to use `params` instead. voting_params defines the parameters related to voting. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 type: object properties: voting_period: type: string +<<<<<<< HEAD + description: Length of the voting period. + deposit_params: + description: deposit_params defines the parameters related to deposit. +======= description: Duration of the voting period. deposit_params: description: |- Deprecated: Prefer to use `params` instead. deposit_params defines the parameters related to deposit. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 type: object properties: min_deposit: @@ -59088,12 +58990,18 @@ definitions: description: >- Maximum period for Atom holders to deposit on a proposal. Initial value: 2 +<<<<<<< HEAD + months. + tally_params: + description: tally_params defines the parameters related to tally. +======= months. tally_params: description: |- Deprecated: Prefer to use `params` instead. tally_params defines the parameters related to tally. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 type: object properties: quorum: @@ -59167,6 +59075,8 @@ definitions: Minimum value of Veto votes to Total votes ratio for proposal to be vetoed. Default value: 1/3. +<<<<<<< HEAD +======= min_initial_deposit_ratio: type: string description: >- @@ -59181,6 +59091,7 @@ definitions: burn_vote_veto: type: boolean title: burn deposits if quorum with vote type no_veto is met +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 description: QueryParamsResponse is the response type for the Query/Params RPC method. cosmos.gov.v1.QueryProposalResponse: type: object @@ -59397,9 +59308,12 @@ definitions: description: no_count is the number of no votes on a proposal. no_with_veto_count: type: string +<<<<<<< HEAD +======= description: >- no_with_veto_count is the number of no with veto votes on a proposal. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 submit_time: type: string format: date-time @@ -59671,9 +59585,12 @@ definitions: description: no_count is the number of no votes on a proposal. no_with_veto_count: type: string +<<<<<<< HEAD +======= description: >- no_with_veto_count is the number of no with veto votes on a proposal. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 submit_time: type: string format: date-time @@ -59765,9 +59682,12 @@ definitions: description: no_count is the number of no votes on a proposal. no_with_veto_count: type: string +<<<<<<< HEAD +======= description: >- no_with_veto_count is the number of no with veto votes on a proposal. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 description: >- QueryTallyResultResponse is the response type for the Query/Tally RPC method. @@ -59775,7 +59695,11 @@ definitions: type: object properties: vote: +<<<<<<< HEAD + description: vote defined the queried vote. +======= description: vote defines the queried vote. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 type: object properties: proposal_id: @@ -60159,7 +60083,10 @@ definitions: description: no is the number of no votes on a proposal. no_with_veto: type: string +<<<<<<< HEAD +======= description: no_with_veto is the number of no with veto votes on a proposal. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 submit_time: type: string format: date-time @@ -60247,7 +60174,10 @@ definitions: method signatures required by gogoproto. +<<<<<<< HEAD +======= description: amount to be deposited by depositor. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 description: >- QueryDepositResponse is the response type for the Query/Deposit RPC method. @@ -60321,7 +60251,11 @@ definitions: properties: voting_period: type: string +<<<<<<< HEAD + description: Length of the voting period. +======= description: Duration of the voting period. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 deposit_params: description: deposit_params defines the parameters related to deposit. type: object @@ -60349,8 +60283,12 @@ definitions: description: >- Maximum period for Atom holders to deposit on a proposal. Initial value: 2 +<<<<<<< HEAD + months. +======= months. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 tally_params: description: tally_params defines the parameters related to tally. type: object @@ -60375,8 +60313,12 @@ definitions: description: >- Minimum value of Veto votes to Total votes ratio for proposal to be +<<<<<<< HEAD + vetoed. Default value: 1/3. +======= vetoed. Default value: 1/3. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 description: QueryParamsResponse is the response type for the Query/Params RPC method. cosmos.gov.v1beta1.QueryProposalResponse: type: object @@ -60480,9 +60422,12 @@ definitions: description: no is the number of no votes on a proposal. no_with_veto: type: string +<<<<<<< HEAD +======= description: >- no_with_veto is the number of no with veto votes on a proposal. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 submit_time: type: string format: date-time @@ -60628,9 +60573,12 @@ definitions: description: no is the number of no votes on a proposal. no_with_veto: type: string +<<<<<<< HEAD +======= description: >- no_with_veto is the number of no with veto votes on a proposal. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 submit_time: type: string format: date-time @@ -60707,7 +60655,10 @@ definitions: description: no is the number of no votes on a proposal. no_with_veto: type: string +<<<<<<< HEAD +======= description: no_with_veto is the number of no with veto votes on a proposal. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 description: >- QueryTallyResultResponse is the response type for the Query/Tally RPC method. @@ -60715,7 +60666,11 @@ definitions: type: object properties: vote: +<<<<<<< HEAD + description: vote defined the queried vote. +======= description: vote defines the queried vote. +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 type: object properties: proposal_id: @@ -60766,10 +60721,14 @@ definitions: WeightedVoteOption defines a unit of vote for vote split. Since: cosmos-sdk 0.43 +<<<<<<< HEAD + title: 'Since: cosmos-sdk 0.43' +======= description: |- options is the weighted vote options. Since: cosmos-sdk 0.43 +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 description: QueryVoteResponse is the response type for the Query/Vote RPC method. cosmos.gov.v1beta1.QueryVotesResponse: type: object @@ -65594,6 +65553,8 @@ definitions: Since: cosmos-sdk 0.46 +<<<<<<< HEAD +======= unbonding_on_hold_ref_count: type: string format: int64 @@ -65608,6 +65569,7 @@ definitions: title: >- list of unbonding ids, each uniquely identifing an unbonding of this validator +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 description: |- QueryDelegatorValidatorResponse response type for the Query/DelegatorValidator RPC method. @@ -66653,6 +66615,8 @@ definitions: Since: cosmos-sdk 0.46 +<<<<<<< HEAD +======= unbonding_on_hold_ref_count: type: string format: int64 @@ -66667,6 +66631,7 @@ definitions: title: >- list of unbonding ids, each uniquely identifing an unbonding of this validator +>>>>>>> fb08aaad636050c5f3d6ed75517435c3c73ec425 title: QueryValidatorResponse is response type for the Query/Validator RPC method cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse: type: object diff --git a/go.sum b/go.sum index da4fe7e6..3875078a 100644 --- a/go.sum +++ b/go.sum @@ -336,8 +336,10 @@ github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d h1:nalkkPQ github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d/go.mod h1:URdX5+vg25ts3aCh8H5IFZybJYKWhJHYMTnf+ULtoC4= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/DataDog/zstd v1.4.5/go.mod h1:1jcaCB/ufaK+sKp1NBhlGmpz41jOoPQ35bpF36t7BBo= +github.com/DataDog/zstd v1.5.0/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwSAmyw= github.com/DecentralCardGame/cardobject v0.5.0 h1:6tOcE1U9+NfQ6kuf5zzV7wQ9OLqhKYRz5m9PgwHKPjw= github.com/DecentralCardGame/cardobject v0.5.0/go.mod h1:waAoRvDCDVTBlPjEroIIfXpX2PQnJvgUssRN4Ji4VFM= +github.com/Djarvur/go-err113 v0.0.0-20200410182137-af658d038157/go.mod h1:4UJr5HIiMZrwgkSPdsjy2uOQExX/WEILpIrO9UPGuXs= github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24/go.mod h1:4UJr5HIiMZrwgkSPdsjy2uOQExX/WEILpIrO9UPGuXs= github.com/GaijinEntertainment/go-exhaustruct/v2 v2.3.0/go.mod h1:b3g59n2Y+T5xmcxJL+UEG2f8cQploZm1mR/v6BW0mU0= github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo= diff --git a/ignite b/ignite deleted file mode 100755 index 7bf3fa9e..00000000 --- a/ignite +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env sh - -# Ingite wrapper to ensure ignite version compatibility -# Takes optional `--path ` option to specify an ingite installation at a different location then the default one -# All other arguments are passed on to ignite - -IGNITE_VERSION="v0.27.1" - - -if [[ $1 == "--path" ]]; then - path=$2 - - if ! [ -f $path ]; then - echo "[Wrapper] Path '$path' was not found" - exit 1 - fi - - args=${@:3} -else - path=$(which ignite) - if [[ $? != 0 ]]; then - echo "[Wrapper] Error: No ignite binary found" - exit 1 - fi - args=$@ -fi - -version=$($path version | grep -E "Ignite CLI version:" | awk '{print $NF}') -if [[ $version != $IGNITE_VERSION ]]; then - echo "[Wrapper] Error: No matching ignite version found, required is $IGNITE_VERSION but $version was found" - exit 1 -fi - -echo "[Wrapper] Using $path $IGNITE_VERSION" - -$path $args