Skip to content

Commit 1b3dc31

Browse files
authored
build: update dfx to v0.29.0 (#490)
(XC-502) In preparation for updating `ic-cdk` to v0.18 in #489, this PR updates the `dfx` version in the top-level `dfx.json`, which is used for deploying canisters for end-to-end tests. Due to the underlying Motoko version upgrade bundled with the newer `dfx`, this change also adds some now-required keywords to the end-to-end test Motoko canister source code.
1 parent 360a59c commit 1b3dc31

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

dfx.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"dfx": "0.23.0",
2+
"dfx": "0.29.0",
33
"canisters": {
44
"evm_rpc": {
55
"candid": "candid/evm_rpc.did",

e2e/motoko/main.mo

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@ import Principal "mo:base/Principal";
99
import Text "mo:base/Text";
1010
import Evm "mo:evm";
1111

12-
shared ({ caller = installer }) actor class Main() {
12+
shared ({ caller = installer }) persistent actor class Main() {
1313
type TestCategory = { #staging; #production };
1414

1515
// (`subnet name`, `nodes in subnet`, `expected cycles for JSON-RPC call`)
1616
type SubnetTarget = (Text, Nat32, Nat);
17-
let fiduciarySubnet : SubnetTarget = ("fiduciary", 34, 540_545_600);
17+
transient let fiduciarySubnet : SubnetTarget = ("fiduciary", 34, 540_545_600);
1818

19-
let testTargets = [
19+
transient let testTargets = [
2020
// (`canister module`, `canister type`, `subnet`)
2121
(EvmRpc, #production, fiduciarySubnet),
2222
(EvmRpcStaging, #staging, fiduciarySubnet),
2323
];
2424

2525
// (`RPC service`, `method`)
26-
let ignoredTests = [
26+
transient let ignoredTests = [
2727
(#EthMainnet(#BlockPi), ?"eth_sendRawTransaction"), // "Private transaction replacement (same nonce) with gas price change lower than 10% is not allowed within 30 sec from the previous transaction."
2828
(#EthMainnet(#Llama), ?"eth_sendRawTransaction"), // Non-standard error message
2929
(#ArbitrumOne(#Ankr), null), // Need API key

0 commit comments

Comments
 (0)