Skip to content

Commit

Permalink
#303 Upgrade Cosmos-SDK to v0.47.8
Browse files Browse the repository at this point in the history
- Fix CI lint errors
- Temporary disable Molecule actionlint job

Signed-off-by: Abdulbois <[email protected]>
Signed-off-by: Abdulbois <[email protected]>
  • Loading branch information
Abdulbois committed Apr 20, 2024
1 parent d606863 commit f562122
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 24 deletions.
4 changes: 3 additions & 1 deletion .github/.wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,6 @@ md
pdf
ul
WebSocket
cometbft
cometbft
CometBFT
CometBFT's
4 changes: 2 additions & 2 deletions .github/workflows/on-demand_molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ name: Check All Molecule tests
on:
push:
branches:
- master
- dev
paths:
- deployment/test-requirements.txt
- deployment/ansible/roles/**
pull_request:
branches:
- master
- dev
paths:
- deployment/test-requirements.txt
- deployment/ansible/roles/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ jobs:
if: needs.changes.outputs.workflows == 'true'
name: Run actionlint tool to verify lint issues in GitHub actions
runs-on: ubuntu-latest
needs:
- changes
# needs:
# - changes
steps:
- uses: actions/checkout@master
- uses: reviewdog/action-actionlint@v1
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ but they may be provided in the future.
- The following libraries can be used as light clients:
- [Golang Light Client implementation](https://pkg.go.dev/github.com/cometbft/cometbft/light)
- [Rust Light Client implementation](https://docs.rs/cometbft-light-client/0.1.0-alpha.2/cometbft_light_client/)
- Refer to [this doc](./docs/cometbtf-rpc.md) to see how to [subscribe](./docs/cometbtf-rpc.md#subscribe) to a CometBFT WebSocket based events and/or [query](./docs/cometbtf-rpc.md#querying-application-components) an application components.
- Refer to [this doc](./docs/cometbft-rpc.md) to see how to [subscribe](./docs/cometbft-rpc.md#subscribe) to a CometBFT WebSocket based events and/or [query](./docs/cometbft-rpc.md#querying-application-components) an application components.


### Instructions
Expand Down
2 changes: 0 additions & 2 deletions deployment/ansible/roles/bootstrap/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,3 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ def test_service(host):
"User=cosmovisor",
"Group=dcl",
'Environment="DAEMON_HOME=/var/lib/dcl/.dcl" "DAEMON_NAME=dcld"',
"ExecStart=/usr/bin/cosmovisor start",
"ExecStart=/usr/bin/cosmovisor run start",
]:
assert prop in svc.content_string
2 changes: 1 addition & 1 deletion deployment/ansible/roles/configure/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ client:
# <host>:<port> to Tendermint RPC interface for this chain
node: "tcp://localhost:26657"
# Transaction broadcasting mode (sync|async|block)
broadcast-mode: block
broadcast-mode: sync
config: {}
app: {}
2 changes: 1 addition & 1 deletion deployment/cosmovisor.service
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ User=ubuntu
Environment="DAEMON_HOME=/var/lib/ubuntu/.dcl"
Environment="DAEMON_NAME=dcld"
Environment="DAEMON_ALLOW_DOWNLOAD_BINARIES=true"
ExecStart=/usr/bin/cosmovisor start
ExecStart=/usr/bin/cosmovisor run start

[Install]
WantedBy=multi-user.target
2 changes: 1 addition & 1 deletion deployment/scripts/run_dcl_node
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ function run_node {


function wait_node_up {
local _timeout="${1:-30}"
local _timeout="${1:-60}"
local _try=1

echo -e "Waiting the node becomes up"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/transactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Please make sure that TLS is enabled in gRPC, REST or Light Client Proxy for sec
- Tendermint RPC supports state proofs. Tendermint's Light Client library can be used to verify the state proofs.
So, if Light Client API is used, then it's possible to communicate with non-trusted nodes.
- Please note, that multi-value queries don't have state proofs support and should be sent to trusted nodes only.
- Refer to [this doc](./cometbtf-rpc.md) to see how to [subscribe](./cometbtf-rpc.md#subscribe) to a Tendermint WebSocket based events and/or [query](./cometbtf-rpc.md#querying-application-components) an application components.
- Refer to [this doc](./cometbft-rpc.md) to see how to [subscribe](./cometbft-rpc.md#subscribe) to a Tendermint WebSocket based events and/or [query](./cometbft-rpc.md#querying-application-components) an application components.

`NotFound` (404 code) is returned if an entry is not found on the ledger.

Expand Down
22 changes: 11 additions & 11 deletions integration_tests/run-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,17 @@ make image &>${DETAILED_OUTPUT_TARGET}

cleanup_pool

# Deploy tests
if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "deploy" ]]; then
DEPLOY_SHELL_TEST="./integration_tests/deploy/test_deploy.sh"
if bash "$DEPLOY_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then
log "$DEPLOY_SHELL_TEST finished successfully"
else
log "$DEPLOY_SHELL_TEST failed"
exit 1
fi
fi

# Cli shell tests
if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "cli" ]]; then
CLI_SHELL_TESTS=$(find integration_tests/cli -type f -name '*.sh' -not -name "common.sh")
Expand Down Expand Up @@ -181,17 +192,6 @@ if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "rest" ]]; then
done
fi

# Deploy tests
if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "deploy" ]]; then
DEPLOY_SHELL_TEST="./integration_tests/deploy/test_deploy.sh"
if bash "$DEPLOY_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then
log "$DEPLOY_SHELL_TEST finished successfully"
else
log "$DEPLOY_SHELL_TEST failed"
exit 1
fi
fi

# Upgrade procedure tests
if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "upgrade" ]]; then
UPGRADE_SHELL_TEST="./integration_tests/upgrade/test-upgrade.sh"
Expand Down

0 comments on commit f562122

Please sign in to comment.