Skip to content

Commit 25d746f

Browse files
fix: Revert "feat: add p/nestedpkg (#2342)" (#2525)
## Description This PR reverts commit 77ceda4, #2342, because of a cyclic `gno.mod` import that's causing the node to not be able to generate genesis transactions and start. <details><summary>Contributors' checklist...</summary> - [x] Added new tests, or not needed, or not feasible - [x] Provided an example (e.g. screenshot) to aid review or the PR is self-explanatory - [x] Updated the official documentation or not needed - [x] No breaking changes were made, or a `BREAKING CHANGE: xxx` message was included in the description - [x] Added references to related issues and PRs - [ ] Provided any useful hints for running manual tests - [ ] Added new benchmarks to [generated graphs](https://gnoland.github.io/benchmarks), if any. More info [here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md). </details>
1 parent a825344 commit 25d746f

File tree

5 files changed

+1
-179
lines changed

5 files changed

+1
-179
lines changed

examples/gno.land/p/demo/nestedpkg/gno.mod

Lines changed: 0 additions & 3 deletions
This file was deleted.

examples/gno.land/p/demo/nestedpkg/nestedpkg.gno

Lines changed: 0 additions & 84 deletions
This file was deleted.

examples/gno.land/p/demo/nestedpkg/nestedpkg_test.gno

Lines changed: 0 additions & 75 deletions
This file was deleted.
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
module gno.land/r/demo/tests
22

3-
require (
4-
gno.land/p/demo/nestedpkg v0.0.0-latest
5-
gno.land/r/demo/tests/subtests v0.0.0-latest
6-
)
3+
require gno.land/r/demo/tests/subtests v0.0.0-latest

examples/gno.land/r/demo/tests/tests.gno

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package tests
33
import (
44
"std"
55

6-
"gno.land/p/demo/nestedpkg"
76
rsubtests "gno.land/r/demo/tests/subtests"
87
)
98

@@ -100,15 +99,3 @@ func GetRSubtestsPrevRealm() std.Realm {
10099
func Exec(fn func()) {
101100
fn()
102101
}
103-
104-
func IsCallerSubPath() bool {
105-
return nestedpkg.IsCallerSubPath()
106-
}
107-
108-
func IsCallerParentPath() bool {
109-
return nestedpkg.IsCallerParentPath()
110-
}
111-
112-
func HasCallerSameNamespace() bool {
113-
return nestedpkg.IsSameNamespace()
114-
}

0 commit comments

Comments
 (0)