12
12
# | 7 | | through /p/demo/bar | bar.A() | PANIC |
13
13
# | 8 | | | bar.B() | pass |
14
14
# | 9 | | | bar.C() | PANIC |
15
- # | 10 | MsgRun | wallet direct | myrealm.A() | pass |
15
+ # | 10 | MsgRun | wallet direct | myrealm.A() | PANIC |
16
16
# | 11 | | | myrealm.B() | pass |
17
- # | 12 | | | myrealm.C() | pass |
17
+ # | 12 | | | myrealm.C() | PANIC |
18
18
# | 13 | | through /r/foo | myrealm.A() | PANIC |
19
19
# | 14 | | | myrealm.B() | pass |
20
20
# | 15 | | | myrealm.C() | PANIC |
21
- # | 16 | | through /p/demo/bar | bar.A() | pass |
21
+ # | 16 | | through /p/demo/bar | bar.A() | PANIC |
22
22
# | 17 | | | bar.B() | pass |
23
23
# | 18 | | | bar.C() | PANIC |
24
24
# | 19 | MsgCall | wallet direct | std.AssertOriginCall() | pass |
25
- # | 20 | MsgRun | wallet direct | std.AssertOriginCall() | pass |
25
+ # | 20 | MsgRun | wallet direct | std.AssertOriginCall() | PANIC |
26
26
27
27
# Init
28
28
## set up and start a new node
@@ -71,17 +71,17 @@ stderr 'invalid non-origin call'
71
71
## ! gnokey maketx call -pkgpath gno.land/p/demo/bar -func C -gas-fee 100000ugnot -gas-wanted 5000000 -broadcast -chainid tendermint_test test1
72
72
## stderr 'invalid non-origin call'
73
73
74
- ## 10. MsgRun -> run.main -> myrlm.A: PASS
75
- gnokey maketx run -gas-fee 100000ugnot -gas-wanted 10000000 -broadcast -chainid tendermint_test test1 $WORK/run/myrlmA.gno
76
- stdout 'OK! '
74
+ ## 10. MsgRun -> run.main -> myrlm.A: PANIC
75
+ ! gnokey maketx run -gas-fee 100000ugnot -gas-wanted 10000000 -broadcast -chainid tendermint_test test1 $WORK/run/myrlmA.gno
76
+ ## stderr 'invalid non-origin call '
77
77
78
78
## 11. MsgRun -> run.main -> myrlm.B: PASS
79
79
gnokey maketx run -gas-fee 100000ugnot -gas-wanted 10000000 -broadcast -chainid tendermint_test test1 $WORK/run/myrlmB.gno
80
80
stdout 'OK!'
81
81
82
- ## 12. MsgRun -> run.main -> myrlm.C: PASS
83
- ## gnokey maketx run -gas-fee 100000ugnot -gas-wanted 5500000 -broadcast -chainid tendermint_test test1 $WORK/run/myrlmC.gno
84
- stdout 'OK! '
82
+ ## 12. MsgRun -> run.main -> myrlm.C: PANIC
83
+ ! gnokey maketx run -gas-fee 100000ugnot -gas-wanted 5500000 -broadcast -chainid tendermint_test test1 $WORK/run/myrlmC.gno
84
+ stderr 'invalid non-origin call '
85
85
86
86
## 13. MsgRun -> run.main -> foo.A: PANIC
87
87
! gnokey maketx run -gas-fee 100000ugnot -gas-wanted 5500000 -broadcast -chainid tendermint_test test1 $WORK/run/fooA.gno
@@ -95,26 +95,26 @@ stdout 'OK!'
95
95
! gnokey maketx run -gas-fee 100000ugnot -gas-wanted 5500000 -broadcast -chainid tendermint_test test1 $WORK/run/fooC.gno
96
96
stderr 'invalid non-origin call'
97
97
98
- ## 16. MsgRun -> run.main -> bar.A: PASS
99
- gnokey maketx run -gas-fee 100000ugnot -gas-wanted 10000000 -broadcast -chainid tendermint_test test1 $WORK/run/barA.gno
100
- stdout 'OK! '
98
+ ## 16. MsgRun -> run.main -> bar.A: PANIC
99
+ ! gnokey maketx run -gas-fee 100000ugnot -gas-wanted 10000000 -broadcast -chainid tendermint_test test1 $WORK/run/barA.gno
100
+ stderr 'invalid non-origin call '
101
101
102
102
## 17. MsgRun -> run.main -> bar.B: PASS
103
103
gnokey maketx run -gas-fee 100000ugnot -gas-wanted 10000000 -broadcast -chainid tendermint_test test1 $WORK/run/barB.gno
104
104
stdout 'OK!'
105
105
106
- ## 18. MsgRun -> run.main -> bar.C: PASS
107
- gnokey maketx run -gas-fee 100000ugnot -gas-wanted 10000000 -broadcast -chainid tendermint_test test1 $WORK/run/barC.gno
108
- stdout 'OK! '
106
+ ## 18. MsgRun -> run.main -> bar.C: PANIC
107
+ ! gnokey maketx run -gas-fee 100000ugnot -gas-wanted 10000000 -broadcast -chainid tendermint_test test1 $WORK/run/barC.gno
108
+ stderr 'invalid non-origin call '
109
109
110
110
## remove testcase 19 due to maketx call forced to call a realm
111
111
## 19. MsgCall -> std.AssertOriginCall: PASS
112
112
## gnokey maketx call -pkgpath std -func AssertOriginCall -gas-fee 100000ugnot -gas-wanted 10000000 -broadcast -chainid tendermint_test test1
113
113
## stdout 'OK!'
114
114
115
- ## 20. MsgRun -> std.AssertOriginCall: PASS
116
- gnokey maketx run -gas-fee 100000ugnot -gas-wanted 10000000 -broadcast -chainid tendermint_test test1 $WORK/run/baz.gno
117
- stdout 'OK! '
115
+ ## 20. MsgRun -> std.AssertOriginCall: PANIC
116
+ ! gnokey maketx run -gas-fee 100000ugnot -gas-wanted 10000000 -broadcast -chainid tendermint_test test1 $WORK/run/baz.gno
117
+ stderr 'invalid non-origin call '
118
118
119
119
120
120
-- r/myrlm/rlm.gno --
0 commit comments