Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Github Actions Bot <>
  • Loading branch information
Github Actions Bot committed May 5, 2023
1 parent 0429594 commit 6447e92
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 98 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/iroha2-dev-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Check genesis.json
if: always()
run: ./scripts/check.sh genesis
- name: Check client_cli/config.json
- name: Check client/config.json
if: always()
run: ./scripts/check.sh client
- name: Check peer/config.json
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/iroha2-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
run: |
sleep 10s
echo "wait to other workflow"
- uses: convictional/trigger-workflow-and-wait@v1.6.2
- uses: convictional/trigger-workflow-and-wait@v1.6.5
with:
owner: soramitsu
repo: iroha2-longevity-load-rs
Expand Down
24 changes: 21 additions & 3 deletions .github/workflows/iroha2-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,22 +52,40 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max

load-rs:
configs:
runs-on: ubuntu-latest
container:
image: hyperledger/iroha2-ci:nightly-2022-12-22
steps:
- uses: actions/checkout@v3
ref: iroha2-dev
- name: Setup git config
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
- name: Update configs
run: |
./configs/update_configs.sh lts
./configs/update_configs.sh stable
- name: Commit
run: |
git commit -am "[documentation]: Update lts/stable configs following a release" --signoff
git push origin iroha2-dev
load-rs:
runs-on: ubuntu-latest
steps:
- name: Get tag from branch name
run: |
BRANCH=${{ github.ref_name }}
PREFIX='iroha2-'
TAG=${BRANCH#$PREFIX}
TAG=$BRANCH
echo "TAG=$TAG" >>$GITHUB_ENV
- name: Build and push docker image (load-rs:release/stable)
run: |
sleep 10s
echo "wait to finish other workflow"
- uses: convictional/trigger-workflow-and-wait@v1.6.2
- uses: convictional/trigger-workflow-and-wait@v1.6.5
with:
owner: soramitsu
repo: iroha2-longevity-load-rs
Expand Down
112 changes: 19 additions & 93 deletions configs/client/config.json
Original file line number Diff line number Diff line change
@@ -1,95 +1,21 @@
{
"PUBLIC_KEY": null,
"PRIVATE_KEY": null,
"DISABLE_PANIC_TERMINAL_COLORS": false,
"KURA": {
"INIT_MODE": "strict",
"BLOCK_STORE_PATH": "./storage",
"BLOCKS_PER_STORAGE_FILE": 1000,
"ACTOR_CHANNEL_CAPACITY": 100,
"DEBUG_OUTPUT_NEW_BLOCKS": false
},
"SUMERAGI": {
"KEY_PAIR": null,
"PEER_ID": null,
"BLOCK_TIME_MS": 1000,
"TRUSTED_PEERS": null,
"COMMIT_TIME_LIMIT_MS": 2000,
"TRANSACTION_LIMITS": {
"max_instruction_number": 4096,
"max_wasm_size_bytes": 4194304
},
"ACTOR_CHANNEL_CAPACITY": 100,
"GOSSIP_BATCH_SIZE": 500,
"GOSSIP_PERIOD_MS": 1000
},
"TORII": {
"P2P_ADDR": null,
"API_URL": null,
"TELEMETRY_URL": null,
"MAX_TRANSACTION_SIZE": 32768,
"MAX_CONTENT_LEN": 16384000
},
"BLOCK_SYNC": {
"GOSSIP_PERIOD_MS": 10000,
"BLOCK_BATCH_SIZE": 4,
"ACTOR_CHANNEL_CAPACITY": 100
},
"QUEUE": {
"MAXIMUM_TRANSACTIONS_IN_BLOCK": 512,
"MAXIMUM_TRANSACTIONS_IN_QUEUE": 65536,
"MAXIMUM_TRANSACTIONS_IN_SIGNATURE_BUFFER": 65536,
"TRANSACTION_TIME_TO_LIVE_MS": 86400000,
"FUTURE_THRESHOLD_MS": 1000
},
"LOGGER": {
"MAX_LOG_LEVEL": "INFO",
"TELEMETRY_CAPACITY": 1000,
"COMPACT_MODE": false,
"LOG_FILE_PATH": null,
"TERMINAL_COLORS": true
},
"GENESIS": {
"ACCOUNT_PUBLIC_KEY": null,
"ACCOUNT_PRIVATE_KEY": null,
"WAIT_FOR_PEERS_RETRY_COUNT_LIMIT": 100,
"WAIT_FOR_PEERS_RETRY_PERIOD_MS": 500,
"GENESIS_SUBMISSION_DELAY_MS": 1000
},
"WSV": {
"ASSET_METADATA_LIMITS": {
"max_len": 1048576,
"max_entry_byte_size": 4096
},
"ASSET_DEFINITION_METADATA_LIMITS": {
"max_len": 1048576,
"max_entry_byte_size": 4096
},
"ACCOUNT_METADATA_LIMITS": {
"max_len": 1048576,
"max_entry_byte_size": 4096
},
"DOMAIN_METADATA_LIMITS": {
"max_len": 1048576,
"max_entry_byte_size": 4096
},
"IDENT_LENGTH_LIMITS": {
"min": 1,
"max": 128
},
"WASM_RUNTIME_CONFIG": {
"FUEL_LIMIT": 1000000,
"MAX_MEMORY": 524288000
}
},
"NETWORK": {
"ACTOR_CHANNEL_CAPACITY": 100
},
"TELEMETRY": {
"NAME": null,
"URL": null,
"MIN_RETRY_PERIOD": 1,
"MAX_RETRY_DELAY_EXPONENT": 4,
"FILE": null
}
"PUBLIC_KEY": "ed01207233BFC89DCBD68C19FDE6CE6158225298EC1131B6A130D1AEB454C1AB5183C0",
"PRIVATE_KEY": {
"digest_function": "ed25519",
"payload": "9ac47abf59b356e0bd7dcbbbb4dec080e302156a48ca907e47cb6aea1d32719e7233bfc89dcbd68c19fde6ce6158225298ec1131b6a130d1aeb454c1ab5183c0"
},
"ACCOUNT_ID": "alice@wonderland",
"BASIC_AUTH": {
"web_login": "mad_hatter",
"password": "ilovetea"
},
"TORII_API_URL": "http://127.0.0.1:8080",
"TORII_TELEMETRY_URL": "http://127.0.0.1:8180",
"TRANSACTION_TIME_TO_LIVE_MS": 100000,
"TRANSACTION_STATUS_TIMEOUT_MS": 15000,
"TRANSACTION_LIMITS": {
"max_instruction_number": 4096,
"max_wasm_size_bytes": 4194304
},
"ADD_TRANSACTION_NONCE": false
}

0 comments on commit 6447e92

Please sign in to comment.