@@ -454,8 +454,8 @@ func TestKeeperTriggerShouldNotMintMoreThanLimit(t *testing.T) {
454454
455455func TestPrioritisedContract (t * testing.T ) {
456456 address := common .HexToAddress ("0x123456789aBCdEF123456789aBCdef123456789A" )
457- preForkTime := big .NewInt (time .Date (2024 , time .February , 1 , 12 , 0 , 0 , 0 , time .UTC ).Unix ())
458- postForkTime := big .NewInt (time .Date (2024 , time .March , 2 , 12 , 0 , 0 , 0 , time .UTC ).Unix ())
457+ preForkTime := big .NewInt (time .Date (2024 , time .March , 13 , 12 , 0 , 0 , 0 , time .UTC ).Unix ())
458+ postForkTime := big .NewInt (time .Date (2024 , time .March , 16 , 12 , 0 , 0 , 0 , time .UTC ).Unix ())
459459 ret0 := [32 ]byte {}
460460 ret1 := [32 ]byte {}
461461 ret1 [31 ] = 1
@@ -466,16 +466,16 @@ func TestPrioritisedContract(t *testing.T) {
466466 if ! IsPrioritisedContractCall (params .SongbirdChainID , & prioritisedFTSOContractAddress , nil , preForkTime ) {
467467 t .Errorf ("Expected true for FTSO contract" )
468468 }
469- if IsPrioritisedContractCall (params .SongbirdChainID , & prioritisedSubmitterContractAddressSongbird , ret1 [:], preForkTime ) {
469+ if IsPrioritisedContractCall (params .SongbirdChainID , & prioritisedSubmitterContractAddress , ret1 [:], preForkTime ) {
470470 t .Errorf ("Expected false for submitter contract before activation" )
471471 }
472- if ! IsPrioritisedContractCall (params .SongbirdChainID , & prioritisedSubmitterContractAddressSongbird , ret1 [:], postForkTime ) {
472+ if ! IsPrioritisedContractCall (params .SongbirdChainID , & prioritisedSubmitterContractAddress , ret1 [:], postForkTime ) {
473473 t .Errorf ("Expected true for submitter contract after activation" )
474474 }
475- if IsPrioritisedContractCall (params .SongbirdChainID , & prioritisedSubmitterContractAddressSongbird , ret0 [:], postForkTime ) {
475+ if IsPrioritisedContractCall (params .SongbirdChainID , & prioritisedSubmitterContractAddress , ret0 [:], postForkTime ) {
476476 t .Errorf ("Expected false for submitter contract with wrong return value" )
477477 }
478- if IsPrioritisedContractCall (params .SongbirdChainID , & prioritisedSubmitterContractAddressSongbird , nil , postForkTime ) {
478+ if IsPrioritisedContractCall (params .SongbirdChainID , & prioritisedSubmitterContractAddress , nil , postForkTime ) {
479479 t .Errorf ("Expected false for submitter contract with no return value" )
480480 }
481481}
0 commit comments