Skip to content

Commit d2c3838

Browse files
gfantonleohhhnthehowl
authored
feat(gnodev): lazy loading & staging support (#3237)
featuring: - [X] **Lazy reload**: Super fast reload, only loading the needed packages for the current directory package. - [x] **Chain resolver**: You can change the gnodev resolving process so it can resolve packages on-chain and configure a local fallback, allowing you to try your package against the chain before submitting it. - This will probably be updated when #2932 & #3123 will be merged - [x] **Staging Mode**: `gnodev` now starts from the current directory by default. The staging subcommand will reproduce previous behaviors by loading and monitoring the entire example folder. <details><summary>Contributors' checklist...</summary> - [ ] Added new tests, or not needed, or not feasible - [ ] Provided an example (e.g. screenshot) to aid review or the PR is self-explanatory - [ ] Updated the official documentation or not needed - [ ] No breaking changes were made, or a `BREAKING CHANGE: xxx` message was included in the description - [ ] Added references to related issues and PRs - [ ] Provided any useful hints for running manual tests </details> --------- Signed-off-by: gfanton <[email protected]> Co-authored-by: Leon Hudak <[email protected]> Co-authored-by: Morgan <[email protected]> Co-authored-by: Morgan <[email protected]>
1 parent 03a8b55 commit d2c3838

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+4097
-1233
lines changed

contribs/gnodev/cmd/gnodev/accounts.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func (va varPremineAccounts) String() string {
4949
return strings.Join(accs, ",")
5050
}
5151

52-
func generateBalances(bk *address.Book, cfg *devCfg) (gnoland.Balances, error) {
52+
func generateBalances(bk *address.Book, cfg *AppConfig) (gnoland.Balances, error) {
5353
bls := gnoland.NewBalances()
5454
premineBalance := std.Coins{std.NewCoin(ugnot.Denom, 10e12)}
5555

0 commit comments

Comments
 (0)