Closed volovyks closed 2 months ago
success
success
Pusher: @volovyks, Action: pull_request
, Working Directory: `, Workflow:
Terraform Feature Env`
URL: https://mpc-recovery-leader-dev-552-7tk2cmmtcq-ue.a.run.app
Did you follow all the rules for creating a Top level account? You could just use dev_create_account()
to facilitate this without needing to know the rules, but both functions uses the testnet faucet which can still be drained
@ChaoticTempest what kind of rules? Here is what I'm doing:
let worker = near_workspaces::testnet().await.unwrap();
let w_account = worker.dev_create_account().await.expect("Failed to create account");
tracing::info!("Created worker account: {}", w_account.id());
It's not throwing any errors, but the account is never created on testnet.
@ChaoticTempest looks like subaccounts is a way to go for now: https://github.com/near/near-workspaces-rs/issues/354
@volovyks I see, alright let's at least delete the subaccount at the end of the test just so our main account doesn't bleed too much funds creating these accounts
@ChaoticTempest added delete account step
success
success
Pusher: @volovyks, Action: pull_request
, Working Directory: `, Workflow:
Terraform Feature Env (Destroy)`
@ChaoticTempest I was not able to use Workspaces
create_tla
on testnet. But the subaccount approach works just fine.