CronCats / treasury

Autonomous treasury for enabling DAOs or any type of near account to manage multiple funds to accrue interest across different vehicles
MIT License
4 stars 2 forks source link

E2E Testing: General + Bootstrap #11

Open TrevorJTClarke opened 2 years ago

TrevorJTClarke commented 2 years ago

Initialization

Unit Tests

Workspace Tests

Example:

near deploy --wasmFile ../res/treasury.wasm --accountId $TREASURY_ACCOUNT_ID --initFunction new --initArgs '{}'
# THEN
near call $TREASURY_ACCOUNT_ID update_settings '{"croncat_id": "'$CRONCAT_MANAGER_ID'"}' --accountId $TREASURY_ACCOUNT_ID --gas $MAX_GAS