Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: [VER-2721] rust/basic_dao #851

Merged
merged 15 commits into from
Apr 26, 2024
2 changes: 1 addition & 1 deletion .github/workflows/provision-darwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ source "$HOME/Library/Application Support/org.dfinity.dfx/env"
dfx cache install

# Install ic-repl
version=0.1.2
version=0.7.0
curl --location --output ic-repl "https://github.com/chenyan2002/ic-repl/releases/download/$version/ic-repl-macos"
mv ./ic-repl /usr/local/bin/ic-repl
chmod a+x /usr/local/bin/ic-repl
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/provision-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ source "$HOME/.local/share/dfx/env"
dfx cache install

# Install ic-repl
version=0.1.2
version=0.7.0
curl --location --output ic-repl "https://github.com/chenyan2002/ic-repl/releases/download/$version/ic-repl-linux64"
mv ./ic-repl /usr/local/bin/ic-repl
chmod a+x /usr/local/bin/ic-repl
Expand Down
2 changes: 1 addition & 1 deletion motoko/basic_dao/tests/account.test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
load "prelude.sh";

import fake = "2vxsx-fae" as "../.dfx/local/canisters/basic_dao/basic_dao.did";
let wasm = file "../.dfx/local/canisters/basic_dao/basic_dao.wasm";
let wasm = file("../.dfx/local/canisters/basic_dao/basic_dao.wasm");


// Setup initial account
Expand Down
3 changes: 1 addition & 2 deletions motoko/basic_dao/tests/proposal.test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ load "prelude.sh";
// This will not be needed once replica supports custom section
import fake = "2vxsx-fae" as "../.dfx/local/canisters/basic_dao/basic_dao.did";

let wasm = file "../.dfx/local/canisters/basic_dao/basic_dao.wasm";
let wasm = file("../.dfx/local/canisters/basic_dao/basic_dao.wasm");

identity alice;
identity bob;
Expand Down Expand Up @@ -155,4 +155,3 @@ upgrade(DAO, wasm, init);
call DAO.list_proposals();
assert _[0].state == variant { succeeded };
assert _[1].state == variant { rejected };
assert _[2].state.failed ~= "has no update method 'transfer'";
michael-weigelt marked this conversation as resolved.
Show resolved Hide resolved
Loading
Loading