Skip to content

Commit 986bb5a

Browse files
committed
Update output to account for TGovernance
1 parent 78d538d commit 986bb5a

File tree

2 files changed

+118
-91
lines changed

2 files changed

+118
-91
lines changed

src/tests/integration/test-data/show/contracts.k.expected

Lines changed: 110 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -2977,6 +2977,25 @@ module S2KtestZModTEscrow-CONTRACT
29772977
rule ( selector ( "getTokenTotalSupply()" ) => 1474266187 )
29782978

29792979

2980+
endmodule
2981+
2982+
module S2KtestZModTGovernance-CONTRACT
2983+
imports public FOUNDRY
2984+
2985+
syntax Contract ::= S2KtestZModTGovernanceContract
2986+
2987+
syntax S2KtestZModTGovernanceContract ::= "S2KtestZModTGovernance" [symbol(""), klabel(contract_test%TGovernance)]
2988+
2989+
syntax Bytes ::= S2KtestZModTGovernanceContract "." S2KtestZModTGovernanceMethod [function, symbol(""), klabel(method_test%TGovernance)]
2990+
2991+
syntax S2KtestZModTGovernanceMethod ::= "S2KgetEscrowTokenTotalSupply" "(" ")" [symbol(""), klabel(method_test%TGovernance_S2KgetEscrowTokenTotalSupply_)]
2992+
2993+
rule ( S2KtestZModTGovernance . S2KgetEscrowTokenTotalSupply ( ) => #abiCallData ( "getEscrowTokenTotalSupply" , .TypedArgs ) )
2994+
2995+
2996+
rule ( selector ( "getEscrowTokenTotalSupply()" ) => 2061189261 )
2997+
2998+
29802999
endmodule
29813000

29823001
module S2KtestZModTToken-CONTRACT
@@ -10444,97 +10463,6 @@ module S2KtestZModSymbolicStore-CONTRACT
1044410463

1044510464
endmodule
1044610465

10447-
module S2KlibZModforgeZSubstdZModsrcZModTest-CONTRACT
10448-
imports public FOUNDRY
10449-
10450-
syntax Contract ::= S2KlibZModforgeZSubstdZModsrcZModTestContract
10451-
10452-
syntax S2KlibZModforgeZSubstdZModsrcZModTestContract ::= "S2KlibZModforgeZSubstdZModsrcZModTest" [symbol(""), klabel(contract_lib%forge-std%src%Test)]
10453-
10454-
syntax Bytes ::= S2KlibZModforgeZSubstdZModsrcZModTestContract "." S2KlibZModforgeZSubstdZModsrcZModTestMethod [function, symbol(""), klabel(method_lib%forge-std%src%Test)]
10455-
10456-
syntax S2KlibZModforgeZSubstdZModsrcZModTestMethod ::= "S2KISZUndTEST" "(" ")" [symbol(""), klabel(method_lib%forge-std%src%Test_S2KISZUndTEST_)]
10457-
10458-
syntax S2KlibZModforgeZSubstdZModsrcZModTestMethod ::= "S2KexcludeArtifacts" "(" ")" [symbol(""), klabel(method_lib%forge-std%src%Test_S2KexcludeArtifacts_)]
10459-
10460-
syntax S2KlibZModforgeZSubstdZModsrcZModTestMethod ::= "S2KexcludeContracts" "(" ")" [symbol(""), klabel(method_lib%forge-std%src%Test_S2KexcludeContracts_)]
10461-
10462-
syntax S2KlibZModforgeZSubstdZModsrcZModTestMethod ::= "S2KexcludeSenders" "(" ")" [symbol(""), klabel(method_lib%forge-std%src%Test_S2KexcludeSenders_)]
10463-
10464-
syntax S2KlibZModforgeZSubstdZModsrcZModTestMethod ::= "S2Kfailed" "(" ")" [symbol(""), klabel(method_lib%forge-std%src%Test_S2Kfailed_)]
10465-
10466-
syntax S2KlibZModforgeZSubstdZModsrcZModTestMethod ::= "S2KtargetArtifactSelectors" "(" ")" [symbol(""), klabel(method_lib%forge-std%src%Test_S2KtargetArtifactSelectors_)]
10467-
10468-
syntax S2KlibZModforgeZSubstdZModsrcZModTestMethod ::= "S2KtargetArtifacts" "(" ")" [symbol(""), klabel(method_lib%forge-std%src%Test_S2KtargetArtifacts_)]
10469-
10470-
syntax S2KlibZModforgeZSubstdZModsrcZModTestMethod ::= "S2KtargetContracts" "(" ")" [symbol(""), klabel(method_lib%forge-std%src%Test_S2KtargetContracts_)]
10471-
10472-
syntax S2KlibZModforgeZSubstdZModsrcZModTestMethod ::= "S2KtargetSelectors" "(" ")" [symbol(""), klabel(method_lib%forge-std%src%Test_S2KtargetSelectors_)]
10473-
10474-
syntax S2KlibZModforgeZSubstdZModsrcZModTestMethod ::= "S2KtargetSenders" "(" ")" [symbol(""), klabel(method_lib%forge-std%src%Test_S2KtargetSenders_)]
10475-
10476-
rule ( S2KlibZModforgeZSubstdZModsrcZModTest . S2KISZUndTEST ( ) => #abiCallData ( "IS_TEST" , .TypedArgs ) )
10477-
10478-
10479-
rule ( S2KlibZModforgeZSubstdZModsrcZModTest . S2KexcludeArtifacts ( ) => #abiCallData ( "excludeArtifacts" , .TypedArgs ) )
10480-
10481-
10482-
rule ( S2KlibZModforgeZSubstdZModsrcZModTest . S2KexcludeContracts ( ) => #abiCallData ( "excludeContracts" , .TypedArgs ) )
10483-
10484-
10485-
rule ( S2KlibZModforgeZSubstdZModsrcZModTest . S2KexcludeSenders ( ) => #abiCallData ( "excludeSenders" , .TypedArgs ) )
10486-
10487-
10488-
rule ( S2KlibZModforgeZSubstdZModsrcZModTest . S2Kfailed ( ) => #abiCallData ( "failed" , .TypedArgs ) )
10489-
10490-
10491-
rule ( S2KlibZModforgeZSubstdZModsrcZModTest . S2KtargetArtifactSelectors ( ) => #abiCallData ( "targetArtifactSelectors" , .TypedArgs ) )
10492-
10493-
10494-
rule ( S2KlibZModforgeZSubstdZModsrcZModTest . S2KtargetArtifacts ( ) => #abiCallData ( "targetArtifacts" , .TypedArgs ) )
10495-
10496-
10497-
rule ( S2KlibZModforgeZSubstdZModsrcZModTest . S2KtargetContracts ( ) => #abiCallData ( "targetContracts" , .TypedArgs ) )
10498-
10499-
10500-
rule ( S2KlibZModforgeZSubstdZModsrcZModTest . S2KtargetSelectors ( ) => #abiCallData ( "targetSelectors" , .TypedArgs ) )
10501-
10502-
10503-
rule ( S2KlibZModforgeZSubstdZModsrcZModTest . S2KtargetSenders ( ) => #abiCallData ( "targetSenders" , .TypedArgs ) )
10504-
10505-
10506-
rule ( selector ( "IS_TEST()" ) => 4202047188 )
10507-
10508-
10509-
rule ( selector ( "excludeArtifacts()" ) => 3041954473 )
10510-
10511-
10512-
rule ( selector ( "excludeContracts()" ) => 3792478065 )
10513-
10514-
10515-
rule ( selector ( "excludeSenders()" ) => 517440284 )
10516-
10517-
10518-
rule ( selector ( "failed()" ) => 3124842406 )
10519-
10520-
10521-
rule ( selector ( "targetArtifactSelectors()" ) => 1725540768 )
10522-
10523-
10524-
rule ( selector ( "targetArtifacts()" ) => 2233625729 )
10525-
10526-
10527-
rule ( selector ( "targetContracts()" ) => 1064470260 )
10528-
10529-
10530-
rule ( selector ( "targetSelectors()" ) => 2439649222 )
10531-
10532-
10533-
rule ( selector ( "targetSenders()" ) => 1046363171 )
10534-
10535-
10536-
endmodule
10537-
1053810466
module S2KsrcZModTestNumber-CONTRACT
1053910467
imports public FOUNDRY
1054010468

@@ -14889,3 +14817,94 @@ module S2KlibZModforgeZSubstdZModlibZModdsZSubtestZModsrcZModDSTest-CONTRACT
1488914817

1489014818

1489114819
endmodule
14820+
14821+
module S2KlibZModforgeZSubstdZModsrcZModTest-CONTRACT
14822+
imports public FOUNDRY
14823+
14824+
syntax Contract ::= S2KlibZModforgeZSubstdZModsrcZModTestContract
14825+
14826+
syntax S2KlibZModforgeZSubstdZModsrcZModTestContract ::= "S2KlibZModforgeZSubstdZModsrcZModTest" [symbol(""), klabel(contract_lib%forge-std%src%Test)]
14827+
14828+
syntax Bytes ::= S2KlibZModforgeZSubstdZModsrcZModTestContract "." S2KlibZModforgeZSubstdZModsrcZModTestMethod [function, symbol(""), klabel(method_lib%forge-std%src%Test)]
14829+
14830+
syntax S2KlibZModforgeZSubstdZModsrcZModTestMethod ::= "S2KISZUndTEST" "(" ")" [symbol(""), klabel(method_lib%forge-std%src%Test_S2KISZUndTEST_)]
14831+
14832+
syntax S2KlibZModforgeZSubstdZModsrcZModTestMethod ::= "S2KexcludeArtifacts" "(" ")" [symbol(""), klabel(method_lib%forge-std%src%Test_S2KexcludeArtifacts_)]
14833+
14834+
syntax S2KlibZModforgeZSubstdZModsrcZModTestMethod ::= "S2KexcludeContracts" "(" ")" [symbol(""), klabel(method_lib%forge-std%src%Test_S2KexcludeContracts_)]
14835+
14836+
syntax S2KlibZModforgeZSubstdZModsrcZModTestMethod ::= "S2KexcludeSenders" "(" ")" [symbol(""), klabel(method_lib%forge-std%src%Test_S2KexcludeSenders_)]
14837+
14838+
syntax S2KlibZModforgeZSubstdZModsrcZModTestMethod ::= "S2Kfailed" "(" ")" [symbol(""), klabel(method_lib%forge-std%src%Test_S2Kfailed_)]
14839+
14840+
syntax S2KlibZModforgeZSubstdZModsrcZModTestMethod ::= "S2KtargetArtifactSelectors" "(" ")" [symbol(""), klabel(method_lib%forge-std%src%Test_S2KtargetArtifactSelectors_)]
14841+
14842+
syntax S2KlibZModforgeZSubstdZModsrcZModTestMethod ::= "S2KtargetArtifacts" "(" ")" [symbol(""), klabel(method_lib%forge-std%src%Test_S2KtargetArtifacts_)]
14843+
14844+
syntax S2KlibZModforgeZSubstdZModsrcZModTestMethod ::= "S2KtargetContracts" "(" ")" [symbol(""), klabel(method_lib%forge-std%src%Test_S2KtargetContracts_)]
14845+
14846+
syntax S2KlibZModforgeZSubstdZModsrcZModTestMethod ::= "S2KtargetSelectors" "(" ")" [symbol(""), klabel(method_lib%forge-std%src%Test_S2KtargetSelectors_)]
14847+
14848+
syntax S2KlibZModforgeZSubstdZModsrcZModTestMethod ::= "S2KtargetSenders" "(" ")" [symbol(""), klabel(method_lib%forge-std%src%Test_S2KtargetSenders_)]
14849+
14850+
rule ( S2KlibZModforgeZSubstdZModsrcZModTest . S2KISZUndTEST ( ) => #abiCallData ( "IS_TEST" , .TypedArgs ) )
14851+
14852+
14853+
rule ( S2KlibZModforgeZSubstdZModsrcZModTest . S2KexcludeArtifacts ( ) => #abiCallData ( "excludeArtifacts" , .TypedArgs ) )
14854+
14855+
14856+
rule ( S2KlibZModforgeZSubstdZModsrcZModTest . S2KexcludeContracts ( ) => #abiCallData ( "excludeContracts" , .TypedArgs ) )
14857+
14858+
14859+
rule ( S2KlibZModforgeZSubstdZModsrcZModTest . S2KexcludeSenders ( ) => #abiCallData ( "excludeSenders" , .TypedArgs ) )
14860+
14861+
14862+
rule ( S2KlibZModforgeZSubstdZModsrcZModTest . S2Kfailed ( ) => #abiCallData ( "failed" , .TypedArgs ) )
14863+
14864+
14865+
rule ( S2KlibZModforgeZSubstdZModsrcZModTest . S2KtargetArtifactSelectors ( ) => #abiCallData ( "targetArtifactSelectors" , .TypedArgs ) )
14866+
14867+
14868+
rule ( S2KlibZModforgeZSubstdZModsrcZModTest . S2KtargetArtifacts ( ) => #abiCallData ( "targetArtifacts" , .TypedArgs ) )
14869+
14870+
14871+
rule ( S2KlibZModforgeZSubstdZModsrcZModTest . S2KtargetContracts ( ) => #abiCallData ( "targetContracts" , .TypedArgs ) )
14872+
14873+
14874+
rule ( S2KlibZModforgeZSubstdZModsrcZModTest . S2KtargetSelectors ( ) => #abiCallData ( "targetSelectors" , .TypedArgs ) )
14875+
14876+
14877+
rule ( S2KlibZModforgeZSubstdZModsrcZModTest . S2KtargetSenders ( ) => #abiCallData ( "targetSenders" , .TypedArgs ) )
14878+
14879+
14880+
rule ( selector ( "IS_TEST()" ) => 4202047188 )
14881+
14882+
14883+
rule ( selector ( "excludeArtifacts()" ) => 3041954473 )
14884+
14885+
14886+
rule ( selector ( "excludeContracts()" ) => 3792478065 )
14887+
14888+
14889+
rule ( selector ( "excludeSenders()" ) => 517440284 )
14890+
14891+
14892+
rule ( selector ( "failed()" ) => 3124842406 )
14893+
14894+
14895+
rule ( selector ( "targetArtifactSelectors()" ) => 1725540768 )
14896+
14897+
14898+
rule ( selector ( "targetArtifacts()" ) => 2233625729 )
14899+
14900+
14901+
rule ( selector ( "targetContracts()" ) => 1064470260 )
14902+
14903+
14904+
rule ( selector ( "targetSelectors()" ) => 2439649222 )
14905+
14906+
14907+
rule ( selector ( "targetSenders()" ) => 1046363171 )
14908+
14909+
14910+
endmodule

src/tests/integration/test-data/show/foundry.k.expected

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ module FOUNDRY-MAIN
3838
imports public S2KtestZModContractBTest-VERIFICATION
3939
imports public S2KtestZModContractFieldTest-VERIFICATION
4040
imports public S2KtestZModTEscrow-VERIFICATION
41+
imports public S2KtestZModTGovernance-VERIFICATION
4142
imports public S2KtestZModTToken-VERIFICATION
4243
imports public S2KtestZModCounter-VERIFICATION
4344
imports public S2KtestZModCounterTest-VERIFICATION
@@ -377,6 +378,13 @@ module S2KtestZModTEscrow-VERIFICATION
377378

378379

379380

381+
endmodule
382+
383+
module S2KtestZModTGovernance-VERIFICATION
384+
imports public S2KtestZModTGovernance-CONTRACT
385+
386+
387+
380388
endmodule
381389

382390
module S2KtestZModTToken-VERIFICATION

0 commit comments

Comments
 (0)