Skip to content

Commit

Permalink
Remove unnecessary enforcing of protocol 20
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio committed Apr 16, 2024
1 parent b83fb7b commit 619cdda
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ func TestExtendFootprintTtl(t *testing.T) {
}

itest := integration.NewTest(t, integration.Config{
ProtocolVersion: 20,
EnableSorobanRPC: true,
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ func TestContractInvokeHostFunctionInstallContract(t *testing.T) {
}

itest := integration.NewTest(t, integration.Config{
ProtocolVersion: 20,
EnableSorobanRPC: true,
})

Expand Down Expand Up @@ -80,7 +79,6 @@ func TestContractInvokeHostFunctionCreateContractByAddress(t *testing.T) {
}

itest := integration.NewTest(t, integration.Config{
ProtocolVersion: 20,
EnableSorobanRPC: true,
})

Expand Down Expand Up @@ -134,7 +132,6 @@ func TestContractInvokeHostFunctionInvokeStatelessContractFn(t *testing.T) {
}

itest := integration.NewTest(t, integration.Config{
ProtocolVersion: 20,
EnableSorobanRPC: true,
})

Expand Down Expand Up @@ -243,7 +240,6 @@ func TestContractInvokeHostFunctionInvokeStatefulContractFn(t *testing.T) {
}

itest := integration.NewTest(t, integration.Config{
ProtocolVersion: 20,
EnableSorobanRPC: true,
})

Expand Down
10 changes: 0 additions & 10 deletions services/horizon/internal/integration/sac_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ func TestContractMintToAccount(t *testing.T) {
}

itest := integration.NewTest(t, integration.Config{
ProtocolVersion: 20,
HorizonEnvironment: map[string]string{"INGEST_DISABLE_STATE_VERIFICATION": "true", "CONNECTION_TIMEOUT": "360000"},
EnableSorobanRPC: true,
})
Expand Down Expand Up @@ -145,7 +144,6 @@ func TestContractMintToContract(t *testing.T) {
}

itest := integration.NewTest(t, integration.Config{
ProtocolVersion: 20,
EnableSorobanRPC: true,
})

Expand Down Expand Up @@ -225,7 +223,6 @@ func TestExpirationAndRestoration(t *testing.T) {
}

itest := integration.NewTest(t, integration.Config{
ProtocolVersion: 20,
EnableSorobanRPC: true,
HorizonIngestParameters: map[string]string{
// disable state verification because we will insert
Expand Down Expand Up @@ -506,7 +503,6 @@ func TestContractTransferBetweenAccounts(t *testing.T) {
}

itest := integration.NewTest(t, integration.Config{
ProtocolVersion: 20,
EnableSorobanRPC: true,
})

Expand Down Expand Up @@ -581,7 +577,6 @@ func TestContractTransferBetweenAccountAndContract(t *testing.T) {
}

itest := integration.NewTest(t, integration.Config{
ProtocolVersion: 20,
EnableSorobanRPC: true,
})

Expand Down Expand Up @@ -702,7 +697,6 @@ func TestContractTransferBetweenContracts(t *testing.T) {
}

itest := integration.NewTest(t, integration.Config{
ProtocolVersion: 20,
EnableSorobanRPC: true,
})

Expand Down Expand Up @@ -784,7 +778,6 @@ func TestContractBurnFromAccount(t *testing.T) {
}

itest := integration.NewTest(t, integration.Config{
ProtocolVersion: 20,
EnableSorobanRPC: true,
})

Expand Down Expand Up @@ -860,7 +853,6 @@ func TestContractBurnFromContract(t *testing.T) {
}

itest := integration.NewTest(t, integration.Config{
ProtocolVersion: 20,
EnableSorobanRPC: true,
})

Expand Down Expand Up @@ -928,7 +920,6 @@ func TestContractClawbackFromAccount(t *testing.T) {
}

itest := integration.NewTest(t, integration.Config{
ProtocolVersion: 20,
EnableSorobanRPC: true,
})

Expand Down Expand Up @@ -1006,7 +997,6 @@ func TestContractClawbackFromContract(t *testing.T) {
}

itest := integration.NewTest(t, integration.Config{
ProtocolVersion: 20,
EnableSorobanRPC: true,
})

Expand Down
1 change: 0 additions & 1 deletion services/horizon/internal/integration/txsub_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ func TestTxSubLimitsBodySize(t *testing.T) {
}

itest := integration.NewTest(t, integration.Config{
ProtocolVersion: 20,
EnableSorobanRPC: true,
HorizonEnvironment: map[string]string{
"MAX_HTTP_REQUEST_SIZE": "1800",
Expand Down

0 comments on commit 619cdda

Please sign in to comment.