File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ impl Api for ExternalApi {
279
279
match result {
280
280
0 => Ok ( true ) ,
281
281
1 => Ok ( false ) ,
282
- 2 => panic ! ( "MessageTooLong must not happen . This is a bug in the VM." ) ,
282
+ 2 => panic ! ( "Error code 2 unused since CosmWasm 0.15 . This is a bug in the VM." ) ,
283
283
3 => panic ! ( "InvalidHashFormat must not happen. This is a bug in the VM." ) ,
284
284
4 => Err ( VerificationError :: InvalidSignatureFormat ) ,
285
285
5 => Err ( VerificationError :: InvalidPubkeyFormat ) ,
@@ -311,7 +311,7 @@ impl Api for ExternalApi {
311
311
match result {
312
312
0 => Ok ( true ) ,
313
313
1 => Ok ( false ) ,
314
- 2 => panic ! ( "MessageTooLong must not happen . This is a bug in the VM." ) ,
314
+ 2 => panic ! ( "Error code 2 unused since CosmWasm 0.15 . This is a bug in the VM." ) ,
315
315
3 => panic ! ( "InvalidHashFormat must not happen. This is a bug in the VM." ) ,
316
316
4 => Err ( VerificationError :: InvalidSignatureFormat ) ,
317
317
5 => Err ( VerificationError :: InvalidPubkeyFormat ) ,
You can’t perform that action at this time.
0 commit comments