Skip to content

Commit

Permalink
Revert "set default schedule to shanghai in tests/specs/examples"
Browse files Browse the repository at this point in the history
This reverts commit 341173e.
  • Loading branch information
anvacaru committed Sep 8, 2023
1 parent 563162d commit 6c04f6e
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion tests/specs/examples/Storage.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.13;
pragma solidity ^0.8.13;

contract Storage {
bool public myBool;
Expand Down
8 changes: 4 additions & 4 deletions tests/specs/examples/erc20-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ module ERC20-SPEC
```k
claim [decimals]:
<mode> NORMAL </mode>
<schedule> SHANGHAI </schedule>
<schedule> ISTANBUL </schedule>
<callStack> .List </callStack>
<program> #binRuntime(S2KERC20) </program>
Expand Down Expand Up @@ -106,7 +106,7 @@ module ERC20-SPEC
```k
claim [totalSupply]:
<mode> NORMAL </mode>
<schedule> SHANGHAI </schedule>
<schedule> ISTANBUL </schedule>
<callStack> .List </callStack>
<program> #binRuntime(S2KERC20) </program>
Expand Down Expand Up @@ -147,7 +147,7 @@ module ERC20-SPEC
```k
claim [approve.success]:
<mode> NORMAL </mode>
<schedule> SHANGHAI </schedule>
<schedule> ISTANBUL </schedule>
<callStack> .List </callStack>
<program> #binRuntime(S2KERC20) </program>
Expand Down Expand Up @@ -186,7 +186,7 @@ module ERC20-SPEC
```k
claim [approve.revert]:
<mode> NORMAL </mode>
<schedule> SHANGHAI </schedule>
<schedule> ISTANBUL </schedule>
<callStack> .List </callStack>
<program> #binRuntime(S2KERC20) </program>
Expand Down
4 changes: 2 additions & 2 deletions tests/specs/examples/erc721-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ claim (#lookup(ACCT_STORAGE, 0) /Int 2 <Int 32)
```k
claim [name.short.success]:
<mode> NORMAL </mode>
<schedule> SHANGHAI </schedule>
<schedule> ISTANBUL </schedule>
<callStack> .List </callStack>
<program> #binRuntime(S2KERC721) </program>
Expand Down Expand Up @@ -107,7 +107,7 @@ claim (#lookup(ACCT_STORAGE, 0) /Int 2 <Int 32)
```k
claim [name.short.revert]:
<mode> NORMAL </mode>
<schedule> SHANGHAI </schedule>
<schedule> ISTANBUL </schedule>
<callStack> .List </callStack>
<program> #binRuntime(S2KERC721) </program>
Expand Down
10 changes: 5 additions & 5 deletions tests/specs/examples/solidity-code-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ module SOLIDITY-CODE-SPEC
```k
claim [bad-call-data]:
<mode> NORMAL </mode>
<schedule> SHANGHAI </schedule>
<schedule> ISTANBUL </schedule>
<callStack> .List </callStack>
<program> #binRuntime() </program>
Expand Down Expand Up @@ -123,7 +123,7 @@ module SOLIDITY-CODE-SPEC
```k
claim [add-positive]:
<mode> NORMAL </mode>
<schedule> SHANGHAI </schedule>
<schedule> ISTANBUL </schedule>
<callStack> .List </callStack>
<program> #binRuntime() </program>
Expand Down Expand Up @@ -157,7 +157,7 @@ module SOLIDITY-CODE-SPEC
```k
claim [add-negative]:
<mode> NORMAL </mode>
<schedule> SHANGHAI </schedule>
<schedule> ISTANBUL </schedule>
<callStack> .List </callStack>
<program> #binRuntime() </program>
Expand Down Expand Up @@ -191,7 +191,7 @@ module SOLIDITY-CODE-SPEC
```
claim [badAdd-negative]:
<mode> NORMAL </mode>
<schedule> SHANGHAI </schedule>
<schedule> ISTANBUL </schedule>
<callStack> .List </callStack>
<program> #binRuntime() </program>
Expand Down Expand Up @@ -224,7 +224,7 @@ module SOLIDITY-CODE-SPEC
```k
claim [max-positive]:
<mode> NORMAL </mode>
<schedule> SHANGHAI </schedule>
<schedule> ISTANBUL </schedule>
<callStack> .List </callStack>
<program> #binRuntime() </program>
Expand Down
4 changes: 2 additions & 2 deletions tests/specs/examples/storage-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ module STORAGE-SPEC
```k
claim [myBool]:
<mode> NORMAL </mode>
<schedule> SHANGHAI </schedule>
<schedule> ISTANBUL </schedule>
<callStack> .List </callStack>
<program> #binRuntime(S2KStorage) </program>
Expand Down Expand Up @@ -100,7 +100,7 @@ module STORAGE-SPEC
```k
claim [setMyBool]:
<mode> NORMAL </mode>
<schedule> SHANGHAI </schedule>
<schedule> ISTANBUL </schedule>
<callStack> .List </callStack>
<program> #binRuntime(S2KStorage) </program>
Expand Down
4 changes: 2 additions & 2 deletions tests/specs/examples/sum-to-n-spec.k
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module SUM-TO-N-SPEC

claim <k> #execute ... </k>
<mode> NORMAL </mode>
<schedule> SHANGHAI </schedule>
<schedule> ISTANBUL </schedule>
<callStack> .List </callStack>
<memoryUsed> 0 </memoryUsed>
<localMem> .Bytes </localMem>
Expand All @@ -51,7 +51,7 @@ module SUM-TO-N-SPEC

claim <k> #execute ... </k>
<mode> NORMAL </mode>
<schedule> SHANGHAI </schedule>
<schedule> ISTANBUL </schedule>
<callStack> .List </callStack>
<memoryUsed> 0 </memoryUsed>
<localMem> .Bytes </localMem>
Expand Down

0 comments on commit 6c04f6e

Please sign in to comment.