@@ -124,12 +124,23 @@ overflow, the gas values were lowered in this issue [#1599].
124124
125125Below is a breakdown of what this change entails:
126126
127- | | CosmWasm 1.x | CosmWasm 2.0 | CosmWasm 2.1 |
128- | -----------------------------------------------------| :------------:| :------------:| :------------:|
129- | ** Cost target** | 1 Tgas/ms | 1 Tgas/s | 1 Tgas/s |
130- | ** Exceeds 64-bit unsigned<br />integer range after** | 5 hours | 5124 hours | 5124 hours |
131- | ** Cost per Wasm operation** | 150.000 | 150 | 170 |
132- | ** Multiplier** | 140.000.000 | 140.000 | 140.000 |
127+ | | CosmWasm v1.0.x | CosmWasm v2.0.x | CosmWasm v2.1.x | CosmWasm v2.1.2 | CosmWasm v2.1.4 → |
128+ | -------------------------------------------------| :---------------:| :---------------:| :---------------:| :---------------:| :-----------------:|
129+ | ** Cost target** | 1 Tgas/ms | 1 Tgas/s | 1 Tgas/s | 1 Tgas/s | 1 Tgas/s |
130+ | ** Exceeds 64-bit unsigned integer range after** | 5 hours | 5 124 hours | 5 124 hours | 5 124 hours | 5 124 hours |
131+ | ** Cost per Wasm operation** | 150 000 | 150 | 170 | 115 (×14) ¹⁾ | 115 (×14) ²⁾ |
132+ | ** Multiplier** | 140 000 000 | 140 000 | 140 000 | 140 000 | 140 000 |
133+
134+ ¹⁾ ** Remarks to CosmWasm v2.1.2**
135+ - Cost for non-accounting Wasm operators is ** 115** .
136+ - Cost for accounting Wasm operators is 115×14 = ** 1610** .
137+ - Wasm accounting operators: Br, BrIf, BrTable, Call, CallIndirect, Else, End, Loop, Return
138+
139+ ²⁾ ** Remarks to CosmWasm v2.1.4**
140+ - Cost for non-accounting Wasm operators is ** 115** .
141+ - Cost for accounting Wasm operators is 115×14 = ** 1610** .
142+ - Wasm accounting operators: Br, BrIf, BrOnCast, BrOnCastFail, BrOnNonNull, BrOnNull, BrTable, Call, CallIndirect,
143+ CallRef, Catch, Delegate, Else, End, If, Loop, Rethrow, Return, ReturnCall, ReturnCallIndirect, ReturnCallRef, Throw, ThrowRef
133144
134145[ #1599 ] : https://github.com/CosmWasm/cosmwasm/pull/1599
135146[ JSON numbers ] : https://www.json.org/
0 commit comments