Skip to content

Commit

Permalink
Add BlockPi back into Motoko E2E
Browse files Browse the repository at this point in the history
  • Loading branch information
rvanasa committed Jan 4, 2024
1 parent 7e1372a commit d4e4d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/motoko/Main.mo
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ shared ({ caller = installer }) actor class Main() {
};

let candidRpcCycles = 1_000_000_000_000;
let ethMainnetSource = #EthMainnet(?[#Ankr, #Cloudflare, #PublicNode]);
let ethMainnetSource = #EthMainnet(?[#Ankr, #Cloudflare, #BlockPi, #PublicNode]);

switch (await canister.eth_getBlockByNumber(ethMainnetSource, #Latest)) {
case (#Consistent(#Err(#ProviderError(#TooFewCycles _)))) {};
Expand Down

0 comments on commit d4e4d1a

Please sign in to comment.