File tree Expand file tree Collapse file tree 5 files changed +21
-5
lines changed Expand file tree Collapse file tree 5 files changed +21
-5
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## [ Unreleased] ( https://github.com/CosmWasm/wasmd/tree/HEAD )
4
4
5
- [ Full Changelog] ( https://github.com/CosmWasm/wasmd/compare/v0.55.0...HEAD )
5
+ [ Full Changelog] ( https://github.com/CosmWasm/wasmd/compare/v0.60.0...HEAD )
6
+
7
+ ## [ v0.60.0] ( https://github.com/CosmWasm/wasmd/tree/v0.60.0 ) (2025-05-26)
8
+
9
+ [ Full Changelog] ( https://github.com/CosmWasm/wasmd/compare/v0.55.0...v0.60.0 )
10
+
11
+ - Bump cosmos-sdk [ v0.53.0] ( https://github.com/CosmWasm/wasmd/pull/2250 )
12
+ - Streamline Stargate/gRPC querier interfaces [ \# 2249] ( https://github.com/CosmWasm/wasmd/pull/2249 )
13
+ - Use gas overflow error for ` ToWasmVMGas ` [ \# 2248] ( https://github.com/CosmWasm/wasmd/pull/2248 )
14
+ - Make sure Aliases in DenomUnit is not nil [ \# 2246] ( https://github.com/CosmWasm/wasmd/pull/2246 )
15
+ - Make validateAddress cheaper if canonicalization fails [ \# 2245] ( https://github.com/CosmWasm/wasmd/pull/2245 )
16
+ - Lower ` DefaultMaxCallDepth ` [ \# 2244] ( https://github.com/CosmWasm/wasmd/pull/2244 )
6
17
7
18
- chore: Change port prefix for IBCv2 messages to "wasm2" [ \# 2229] ( https://github.com/CosmWasm/wasmd/pull/2229 )
8
19
- feat: IBCv2 timeout handler [ \# 2226] ( https://github.com/CosmWasm/wasmd/pull/2226 )
Original file line number Diff line number Diff line change @@ -519,6 +519,11 @@ var (
519
519
const oogMsg = "out of gas"
520
520
return expErrWithMsg (t , err , args , oogMsg )
521
521
}
522
+ // ErrMaxCallDepthMatcher requires error with "max call depth exceeded" message
523
+ ErrMaxCallDepthMatcher RunErrorAssert = func (t assert.TestingT , err error , args ... interface {}) bool {
524
+ const expMsg = "max call depth exceeded"
525
+ return expErrWithMsg (t , err , args , expMsg )
526
+ }
522
527
// ErrTimeoutMatcher requires time out message
523
528
ErrTimeoutMatcher RunErrorAssert = func (t assert.TestingT , err error , args ... interface {}) bool {
524
529
const expMsg = "timed out waiting for tx to be included in a block"
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ func TestRecursiveMsgsExternalTrigger(t *testing.T) {
29
29
}{
30
30
"simulation" : {
31
31
gas : "auto" ,
32
- expErrMatcher : ErrOutOfGasMatcher ,
32
+ expErrMatcher : ErrMaxCallDepthMatcher ,
33
33
},
34
34
}
35
35
for name , spec := range specs {
Original file line number Diff line number Diff line change @@ -26,8 +26,10 @@ require (
26
26
require (
27
27
cosmossdk.io/math v1.5.3
28
28
github.com/cometbft/cometbft v0.38.17
29
+ github.com/gogo/protobuf v1.3.2
29
30
github.com/tidwall/gjson v1.14.2
30
31
github.com/tidwall/sjson v1.2.5
32
+ google.golang.org/protobuf v1.36.6
31
33
)
32
34
33
35
require (
@@ -82,7 +84,6 @@ require (
82
84
github.com/go-viper/mapstructure/v2 v2.2.1 // indirect
83
85
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
84
86
github.com/gogo/googleapis v1.4.1 // indirect
85
- github.com/gogo/protobuf v1.3.2 // indirect
86
87
github.com/golang/glog v1.2.4 // indirect
87
88
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
88
89
github.com/golang/snappy v0.0.4 // indirect
@@ -156,7 +157,6 @@ require (
156
157
golang.org/x/text v0.24.0 // indirect
157
158
google.golang.org/genproto/googleapis/api v0.0.0-20250324211829-b45e905df463 // indirect
158
159
google.golang.org/genproto/googleapis/rpc v0.0.0-20250422160041-2d3770c4ea7f // indirect
159
- google.golang.org/protobuf v1.36.6 // indirect
160
160
gopkg.in/yaml.v3 v3.0.1 // indirect
161
161
gotest.tools/v3 v3.5.2 // indirect
162
162
nhooyr.io/websocket v1.8.6 // indirect
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import (
10
10
// DefaultMaxQueryStackSize maximum size of the stack of recursive queries a contract can make
11
11
const DefaultMaxQueryStackSize uint32 = 10
12
12
13
- const DefaultMaxCallDepth uint32 = 500
13
+ const DefaultMaxCallDepth uint32 = 100
14
14
15
15
// WasmEngine defines the WASM contract runtime engine.
16
16
type WasmEngine interface {
You can’t perform that action at this time.
0 commit comments