Skip to content

Commit

Permalink
fix: use deploy wasm as default
Browse files Browse the repository at this point in the history
Signed-off-by: Lohachov Mykhailo <[email protected]>
  • Loading branch information
aoyako committed Nov 19, 2024
1 parent 532bcef commit 44892a8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/iroha2-custom-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
with:
ref: ${{ github.event.inputs.CHECKOUT_REF }}
- name: Build wasm libs
run: ./scripts/build_wasm.sh libs
run: ./scripts/build_wasm.sh --profile=deploy libs
- name: Upload wasm libs to reuse in other jobs
uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/iroha2-dev-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build wasm libs
run: ./scripts/build_wasm.sh libs
run: ./scripts/build_wasm.sh --profile=deploy libs
- name: Upload wasm libs to reuse in other jobs
uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/iroha2-dev-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build
run: ./scripts/build_wasm.sh
run: ./scripts/build_wasm.sh --profile=deploy
- name: Upload all built WASMs
uses: actions/upload-artifact@v4
with:
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 @@ -20,7 +20,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build wasm libs
run: ./scripts/build_wasm.sh libs
run: ./scripts/build_wasm.sh --profile=deploy libs
- name: Upload wasm libs to reuse in other jobs
uses: actions/upload-artifact@v4
with:
Expand Down
5 changes: 1 addition & 4 deletions crates/iroha_test_network/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ use iroha_crypto::{ExposedPrivateKey, KeyPair, PrivateKey};
use iroha_data_model::{
events::pipeline::BlockEventFilter,
isi::InstructionBox,
parameter::{SumeragiParameter, SumeragiParameters, SmartContractParameter},
parameter::{SumeragiParameter, SumeragiParameters},
ChainId,
};
use iroha_genesis::GenesisBlock;
Expand Down Expand Up @@ -347,9 +347,6 @@ impl NetworkBuilder {
InstructionBox::SetParameter(SetParameter::new(Parameter::Sumeragi(
SumeragiParameter::CommitTimeMs(commit_time.as_millis() as u64),
))),
InstructionBox::SetParameter(SetParameter::new(Parameter::Executor(
SmartContractParameter::Fuel(std::num::NonZeroU64::new(u64::MAX).unwrap()),
))),
]
.into_iter()
.chain(self.extra_isi),
Expand Down

0 comments on commit 44892a8

Please sign in to comment.