diff --git a/tests/specs/ds-token-erc20/abstract-semantics-segmented-gas.k b/tests/specs/ds-token-erc20/abstract-semantics-segmented-gas.k index 1829bcf479..5a51123c11 100644 --- a/tests/specs/ds-token-erc20/abstract-semantics-segmented-gas.k +++ b/tests/specs/ds-token-erc20/abstract-semantics-segmented-gas.k @@ -15,10 +15,10 @@ module ABSTRACT-SEMANTICS-SEGMENTED-GAS // ######################## // accumulate the gas cost and never run out of gas - rule G ~> #deductGas => . ... - #gas(INITGAS, NONMEM, MEM) => #gas(INITGAS, NONMEM +Int G, MEM) + rule GAAS:Int ~> #deductGas => . ... + #gas(INITGAS, NONMEM, MEM) => #gas(INITGAS, NONMEM +Int GAAS, MEM) _ => #gas(INITGAS, NONMEM, MEM) - requires #notKLabel(G, "#symCmem") + requires #notKLabel(GAAS, "#symCmem") [trusted, matching(#gas)] rule #symCmem(MEM') ~> #deductGas => . ... diff --git a/tests/specs/hkg-erc20/abstract-semantics-segmented-gas.k b/tests/specs/hkg-erc20/abstract-semantics-segmented-gas.k index 1829bcf479..5a51123c11 100644 --- a/tests/specs/hkg-erc20/abstract-semantics-segmented-gas.k +++ b/tests/specs/hkg-erc20/abstract-semantics-segmented-gas.k @@ -15,10 +15,10 @@ module ABSTRACT-SEMANTICS-SEGMENTED-GAS // ######################## // accumulate the gas cost and never run out of gas - rule G ~> #deductGas => . ... - #gas(INITGAS, NONMEM, MEM) => #gas(INITGAS, NONMEM +Int G, MEM) + rule GAAS:Int ~> #deductGas => . ... + #gas(INITGAS, NONMEM, MEM) => #gas(INITGAS, NONMEM +Int GAAS, MEM) _ => #gas(INITGAS, NONMEM, MEM) - requires #notKLabel(G, "#symCmem") + requires #notKLabel(GAAS, "#symCmem") [trusted, matching(#gas)] rule #symCmem(MEM') ~> #deductGas => . ... diff --git a/tests/specs/hobby-erc20/abstract-semantics-segmented-gas.k b/tests/specs/hobby-erc20/abstract-semantics-segmented-gas.k index 1829bcf479..5a51123c11 100644 --- a/tests/specs/hobby-erc20/abstract-semantics-segmented-gas.k +++ b/tests/specs/hobby-erc20/abstract-semantics-segmented-gas.k @@ -15,10 +15,10 @@ module ABSTRACT-SEMANTICS-SEGMENTED-GAS // ######################## // accumulate the gas cost and never run out of gas - rule G ~> #deductGas => . ... - #gas(INITGAS, NONMEM, MEM) => #gas(INITGAS, NONMEM +Int G, MEM) + rule GAAS:Int ~> #deductGas => . ... + #gas(INITGAS, NONMEM, MEM) => #gas(INITGAS, NONMEM +Int GAAS, MEM) _ => #gas(INITGAS, NONMEM, MEM) - requires #notKLabel(G, "#symCmem") + requires #notKLabel(GAAS, "#symCmem") [trusted, matching(#gas)] rule #symCmem(MEM') ~> #deductGas => . ...