diff --git a/cmd/soroban-rpc/internal/integrationtest/transaction_test.go b/cmd/soroban-rpc/internal/integrationtest/transaction_test.go index 4a2af0e1..ff6515ff 100644 --- a/cmd/soroban-rpc/internal/integrationtest/transaction_test.go +++ b/cmd/soroban-rpc/internal/integrationtest/transaction_test.go @@ -204,6 +204,10 @@ func TestSendTransactionFailedInvalidXDR(t *testing.T) { } func TestContractCreationWithConstructor(t *testing.T) { + + if infrastructure.GetCoreMaxSupportedProtocol() < 22 { + t.Skip("Only test this for protocol >= 22") + } test := infrastructure.NewTest(t, nil) test.UploadNoArgConstructorContract()