From bd0e0c243448ccf23d922454d11bf6c5f40f9691 Mon Sep 17 00:00:00 2001 From: Maxnflaxl <63856008+Maxnflaxl@users.noreply.github.com> Date: Thu, 6 Nov 2025 18:25:09 +0100 Subject: [PATCH 1/2] Update bvm2_cost.h --- bvm/bvm2_cost.h | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/bvm/bvm2_cost.h b/bvm/bvm2_cost.h index 3d4064616..babd811a0 100644 --- a/bvm/bvm2_cost.h +++ b/bvm/bvm2_cost.h @@ -24,31 +24,31 @@ struct ChargeFor { struct Cost { - static const uint32_t Cycle = ChargeFor<20*1000*1000>::V; - static const uint32_t MemOpPerByte = ChargeFor<50*1000*1000>::V; - static const uint32_t HeapOp = ChargeFor<1000*1000>::V; - static const uint32_t LoadVar = ChargeFor<20*1000>::V; - static const uint32_t LoadVarPerByte = ChargeFor<2*1000*1000>::V; - static const uint32_t SaveVar = ChargeFor<5*1000>::V; - static const uint32_t SaveVarPerByte = ChargeFor<1000*1000>::V; - static const uint32_t Log = ChargeFor<20*1000>::V; - static const uint32_t LogPerByte = ChargeFor<1000*1000>::V; - static const uint32_t UpdateShader = ChargeFor<1*1000>::V; - static const uint32_t CallFar = ChargeFor<10*1000>::V; - static const uint32_t AddSig = ChargeFor<10*1000>::V; - static const uint32_t AssetManage = ChargeFor<1000>::V; - static const uint32_t AssetEmit = ChargeFor<20*1000>::V; - static const uint32_t FundsLock = ChargeFor<50*1000>::V; - static const uint32_t HashOp = ChargeFor<1000*1000>::V; - static const uint32_t HashWrite = ChargeFor<5*1000*1000>::V; - static const uint32_t HashWritePerByte = ChargeFor<50*1000*1000>::V; + static const uint32_t Cycle = ChargeFor<20'000'000>::V; + static const uint32_t MemOpPerByte = ChargeFor<50'000'000>::V; + static const uint32_t HeapOp = ChargeFor<1'000'000>::V; + static const uint32_t LoadVar = ChargeFor<20'000>::V; + static const uint32_t LoadVarPerByte = ChargeFor<2'000'000>::V; + static const uint32_t SaveVar = ChargeFor<5'000>::V; + static const uint32_t SaveVarPerByte = ChargeFor<1'000'000>::V; + static const uint32_t Log = ChargeFor<20'000>::V; + static const uint32_t LogPerByte = ChargeFor<1'000'000>::V; + static const uint32_t UpdateShader = ChargeFor<1'000>::V; + static const uint32_t CallFar = ChargeFor<10'000>::V; + static const uint32_t AddSig = ChargeFor<10'000>::V; + static const uint32_t AssetManage = ChargeFor<1'000>::V; + static const uint32_t AssetEmit = ChargeFor<20'000>::V; + static const uint32_t FundsLock = ChargeFor<50'000>::V; + static const uint32_t HashOp = ChargeFor<1'000'000>::V; + static const uint32_t HashWrite = ChargeFor<5'000'000>::V; + static const uint32_t HashWritePerByte = ChargeFor<50'000'000>::V; - static const uint32_t Secp_ScalarInv = ChargeFor<5*1000>::V; - static const uint32_t Secp_Point_Import = ChargeFor<5*1000>::V; - static const uint32_t Secp_Point_Export = ChargeFor<5*1000>::V; - static const uint32_t Secp_Point_Multiply = ChargeFor<2*1000>::V; + static const uint32_t Secp_ScalarInv = ChargeFor<5'000>::V; + static const uint32_t Secp_Point_Import = ChargeFor<5'000>::V; + static const uint32_t Secp_Point_Export = ChargeFor<5'000>::V; + static const uint32_t Secp_Point_Multiply = ChargeFor<2'000>::V; - static const uint32_t BeamHashIII = ChargeFor<20*1000>::V; + static const uint32_t BeamHashIII = ChargeFor<20'000>::V; static const uint32_t Refs = LoadVar + SaveVar; From 82ecc87d6c8a91604ee33fcf6379665a1211501d Mon Sep 17 00:00:00 2001 From: Maxnflaxl <63856008+Maxnflaxl@users.noreply.github.com> Date: Thu, 6 Nov 2025 22:54:30 +0100 Subject: [PATCH 2/2] fix typo --- utility/cli/options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utility/cli/options.cpp b/utility/cli/options.cpp index 82cd458a6..45f24eabb 100644 --- a/utility/cli/options.cpp +++ b/utility/cli/options.cpp @@ -527,7 +527,7 @@ namespace beam (cli::INFURA_PROJECT_ID, po::value(), "infura project ID") (cli::ACCOUNT_INDEX, po::value>(), "ethereum account index") (cli::SHOULD_CONNECT, po::value(), "connect to ethereum [true|false]") - (cli::ETH_GAS_PRICE, po::value>(), "gas price in the gwei") + (cli::ETH_GAS_PRICE, po::value>(), "gas price in gwei") (cli::ETH_SWAP_AMOUNT, po::value(), "swap amount in the ethereums or tokens"); po::options_description wallet_assets_options("Confidential assets");