Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Set initialBalance to 100N in create_account #298

Merged
merged 5 commits into from
Mar 31, 2020
Merged

Conversation

ilblackdragon
Copy link
Member

After state staking update near/NEPs#41, 1N covers for 10kb of storage.
So 100N covers 1MB storage which should be enough for initial playing with contracts.
Current 0.1N leads to LackBalance error.

After state staking update, 1N covers for 10kb. So 100N covers 1MB storage.
@behaviary
Copy link
Contributor

I want to highlight that accounts created in the wallet and funding these would need to have 10,000 to keep the same ratio that we've got now.

@ilblackdragon
Copy link
Member Author

Why do we need to maintain same ratio?

@ilblackdragon
Copy link
Member Author

Hm @mikedotexe it seems like CI has been broken before?

mikedotexe and others added 3 commits March 31, 2020 14:57
…265)

* add yarg’s strict() to chain. add walletUrl, contractName as options

* add hidden key to walletUrl and contractName

* add masterAccount option in near-cli

* fix test using delete_account to delete

* fix test using defult to ci networkId

* fix lint spacing

* remove node 10 from travis

* fix typo for masterAccount description

* in test_generate_key, use $NODE_ENV as flag and directory
After state staking update, 1N covers for 10kb. So 100N covers 1MB storage.
@janedegtiareva
Copy link
Contributor

rebased to master. dealing with tests to get this into today's shell push

@mikedotexe
Copy link
Contributor

Hm @mikedotexe it seems like CI has been broken before?

Yes, we just fixed that today. Node version and shell tests had minor issues.

@mikedotexe
Copy link
Contributor

Actually, there's a test that was checking the balance, too, which has now changed. Pushing up a commit modifying that test.

@mikedotexe mikedotexe merged commit 7be9d19 into master Mar 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants