Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/flow-rust-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
uses: hiero-ledger/hiero-solo-action@10ec96a107b8d2f5cd26b3e7ab47e65407b5c462 # v0.11.0
with:
installMirrorNode: true
hieroVersion: v0.61.4
hieroVersion: v0.65.0

- name: Create env file
run: |
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ pub use contract::{
ContractUpdateTransaction,
DelegateContractId,
};
pub use custom_fee_limit::CustomFeeLimit;
pub use custom_fixed_fee::CustomFixedFee;
pub use entity_id::EntityId;
pub(crate) use entity_id::ValidateChecksums;
Expand Down
3 changes: 3 additions & 0 deletions tests/e2e/batch_transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ use crate::common::{
use crate::resources::BIG_CONTENTS;

#[tokio::test]
#[ignore] // Due to NotSupported error from network
async fn can_execute_batch_transaction() -> anyhow::Result<()> {
let Some(TestEnvironment { config: _, client }) = setup_nonfree() else {
return Ok(());
Expand Down Expand Up @@ -57,6 +58,7 @@ async fn can_execute_batch_transaction() -> anyhow::Result<()> {
}

#[tokio::test]
#[ignore] // Due to NotSupported error from network
async fn can_execute_large_batch_transaction() -> anyhow::Result<()> {
let Some(TestEnvironment { config: _, client }) = setup_nonfree() else {
return Ok(());
Expand Down Expand Up @@ -229,6 +231,7 @@ async fn cannot_execute_batch_transaction_without_batchifying_inner() -> anyhow:
}

#[tokio::test]
#[ignore] // Due to NotSupported error from network
async fn can_execute_batch_transaction_with_chunked_inner() -> anyhow::Result<()> {
let Some(TestEnvironment { config: _, client }) = setup_nonfree() else {
return Ok(());
Expand Down
6 changes: 3 additions & 3 deletions tests/e2e/contract/bytecode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async fn query() -> anyhow::Result<()> {

let contract_id = ContractCreateTransaction::new()
.admin_key(op.private_key.public_key())
.gas(200000)
.gas(2000000)
.constructor_parameters(
ContractFunctionParameters::new().add_string("Hello from Hedera.").to_bytes(None),
)
Expand Down Expand Up @@ -101,7 +101,7 @@ async fn get_cost_big_max_query() -> anyhow::Result<()> {

let contract_id = ContractCreateTransaction::new()
.admin_key(op.private_key.public_key())
.gas(200000)
.gas(2000000)
.constructor_parameters(
ContractFunctionParameters::new().add_string("Hello from Hedera.").to_bytes(None),
)
Expand Down Expand Up @@ -166,7 +166,7 @@ async fn get_cost_small_max_query() -> anyhow::Result<()> {

let contract_id = ContractCreateTransaction::new()
.admin_key(op.private_key.public_key())
.gas(200000)
.gas(2000000)
.constructor_parameters(
ContractFunctionParameters::new().add_string("Hello from Hedera.").to_bytes(None),
)
Expand Down
4 changes: 2 additions & 2 deletions tests/e2e/contract/create.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async fn basic() -> anyhow::Result<()> {

let contract_id = ContractCreateTransaction::new()
.admin_key(op.private_key.public_key())
.gas(200_000)
.gas(2000000)
.constructor_parameters(
ContractFunctionParameters::new().add_string("Hello from Hedera.").to_bytes(None),
)
Expand Down Expand Up @@ -75,7 +75,7 @@ async fn no_admin_key() -> anyhow::Result<()> {
let file_id = bytecode_file_id(&client, op.private_key.public_key()).await?;

let contract_id = ContractCreateTransaction::new()
.gas(200_000)
.gas(2000000)
.constructor_parameters(
ContractFunctionParameters::new().add_string("Hello from Hedera.").to_bytes(None),
)
Expand Down
6 changes: 3 additions & 3 deletions tests/e2e/contract/create_flow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async fn basic() -> anyhow::Result<()> {
let contract_id = ContractCreateFlow::new()
.bytecode_hex(SMART_CONTRACT_BYTECODE)?
.admin_key(op.private_key.public_key())
.gas(200_000)
.gas(2000000)
.constructor_parameters(
ContractFunctionParameters::new().add_string("Hello from Hedera.").to_bytes(None),
)
Expand Down Expand Up @@ -102,7 +102,7 @@ async fn admin_key() -> anyhow::Result<()> {
let contract_id = ContractCreateFlow::new()
.bytecode_hex(SMART_CONTRACT_BYTECODE)?
.admin_key(admin_key.public_key())
.gas(200_000)
.gas(2000000)
.constructor_parameters(
ContractFunctionParameters::new().add_string("Hello from Hedera.").to_bytes(None),
)
Expand Down Expand Up @@ -150,7 +150,7 @@ async fn admin_key_sign_with() -> anyhow::Result<()> {
let contract_id = ContractCreateFlow::new()
.bytecode_hex(SMART_CONTRACT_BYTECODE)?
.admin_key(admin_key.public_key())
.gas(200_000)
.gas(2000000)
.constructor_parameters(
ContractFunctionParameters::new().add_string("Hello from Hedera.").to_bytes(None),
)
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/contract/nonce_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async fn increment_nonce_through_contract_constructor() -> anyhow::Result<()> {

let response = ContractCreateTransaction::new()
.admin_key(op.private_key.public_key())
.gas(100000)
.gas(1000000)
.bytecode_file_id(file_id)
.contract_memo("[e2e::ContractADeploysContractBInConstructor]")
.execute(&client)
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/token/airdrop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ async fn invalid_body_fail() -> anyhow::Result<()> {
assert_matches!(
res,
Err(hedera::Error::TransactionPreCheckStatus {
status: Status::InvalidTransactionBody,
status: Status::AirdropContainsMultipleSendersForAToken,
..
})
);
Expand Down
1 change: 1 addition & 0 deletions tests/e2e/topic/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ mod delete;
mod info;
mod message;
mod message_submit;
mod revenue_schedule;
mod update;
// mod message;
// mod message_submit;
Expand Down
Loading