|
|
@ -78,7 +78,7 @@ func TestHarmonyFlags(t *testing.T) { |
|
|
|
EthRPCsEnabled: true, |
|
|
|
EthRPCsEnabled: true, |
|
|
|
StakingRPCsEnabled: true, |
|
|
|
StakingRPCsEnabled: true, |
|
|
|
LegacyRPCsEnabled: true, |
|
|
|
LegacyRPCsEnabled: true, |
|
|
|
RpcFilterFile: "", |
|
|
|
RpcFilterFile: "./.hmy/rpc_filter.txt", |
|
|
|
RateLimterEnabled: true, |
|
|
|
RateLimterEnabled: true, |
|
|
|
RequestsPerSecond: 1000, |
|
|
|
RequestsPerSecond: 1000, |
|
|
|
}, |
|
|
|
}, |
|
|
@ -629,7 +629,7 @@ func TestRPCOptFlags(t *testing.T) { |
|
|
|
EthRPCsEnabled: true, |
|
|
|
EthRPCsEnabled: true, |
|
|
|
StakingRPCsEnabled: true, |
|
|
|
StakingRPCsEnabled: true, |
|
|
|
LegacyRPCsEnabled: true, |
|
|
|
LegacyRPCsEnabled: true, |
|
|
|
RpcFilterFile: "", |
|
|
|
RpcFilterFile: "./.hmy/rpc_filter.txt", |
|
|
|
RateLimterEnabled: true, |
|
|
|
RateLimterEnabled: true, |
|
|
|
RequestsPerSecond: 1000, |
|
|
|
RequestsPerSecond: 1000, |
|
|
|
}, |
|
|
|
}, |
|
|
@ -642,7 +642,7 @@ func TestRPCOptFlags(t *testing.T) { |
|
|
|
EthRPCsEnabled: false, |
|
|
|
EthRPCsEnabled: false, |
|
|
|
StakingRPCsEnabled: true, |
|
|
|
StakingRPCsEnabled: true, |
|
|
|
LegacyRPCsEnabled: true, |
|
|
|
LegacyRPCsEnabled: true, |
|
|
|
RpcFilterFile: "", |
|
|
|
RpcFilterFile: "./.hmy/rpc_filter.txt", |
|
|
|
RateLimterEnabled: true, |
|
|
|
RateLimterEnabled: true, |
|
|
|
RequestsPerSecond: 1000, |
|
|
|
RequestsPerSecond: 1000, |
|
|
|
}, |
|
|
|
}, |
|
|
@ -655,7 +655,7 @@ func TestRPCOptFlags(t *testing.T) { |
|
|
|
EthRPCsEnabled: true, |
|
|
|
EthRPCsEnabled: true, |
|
|
|
StakingRPCsEnabled: false, |
|
|
|
StakingRPCsEnabled: false, |
|
|
|
LegacyRPCsEnabled: true, |
|
|
|
LegacyRPCsEnabled: true, |
|
|
|
RpcFilterFile: "", |
|
|
|
RpcFilterFile: "./.hmy/rpc_filter.txt", |
|
|
|
RateLimterEnabled: true, |
|
|
|
RateLimterEnabled: true, |
|
|
|
RequestsPerSecond: 1000, |
|
|
|
RequestsPerSecond: 1000, |
|
|
|
}, |
|
|
|
}, |
|
|
@ -668,7 +668,7 @@ func TestRPCOptFlags(t *testing.T) { |
|
|
|
EthRPCsEnabled: true, |
|
|
|
EthRPCsEnabled: true, |
|
|
|
StakingRPCsEnabled: true, |
|
|
|
StakingRPCsEnabled: true, |
|
|
|
LegacyRPCsEnabled: false, |
|
|
|
LegacyRPCsEnabled: false, |
|
|
|
RpcFilterFile: "", |
|
|
|
RpcFilterFile: "./.hmy/rpc_filter.txt", |
|
|
|
RateLimterEnabled: true, |
|
|
|
RateLimterEnabled: true, |
|
|
|
RequestsPerSecond: 1000, |
|
|
|
RequestsPerSecond: 1000, |
|
|
|
}, |
|
|
|
}, |
|
|
@ -694,7 +694,7 @@ func TestRPCOptFlags(t *testing.T) { |
|
|
|
EthRPCsEnabled: true, |
|
|
|
EthRPCsEnabled: true, |
|
|
|
StakingRPCsEnabled: true, |
|
|
|
StakingRPCsEnabled: true, |
|
|
|
LegacyRPCsEnabled: true, |
|
|
|
LegacyRPCsEnabled: true, |
|
|
|
RpcFilterFile: "", |
|
|
|
RpcFilterFile: "./.hmy/rpc_filter.txt", |
|
|
|
RateLimterEnabled: true, |
|
|
|
RateLimterEnabled: true, |
|
|
|
RequestsPerSecond: 1000, |
|
|
|
RequestsPerSecond: 1000, |
|
|
|
}, |
|
|
|
}, |
|
|
@ -707,7 +707,7 @@ func TestRPCOptFlags(t *testing.T) { |
|
|
|
EthRPCsEnabled: true, |
|
|
|
EthRPCsEnabled: true, |
|
|
|
StakingRPCsEnabled: true, |
|
|
|
StakingRPCsEnabled: true, |
|
|
|
LegacyRPCsEnabled: true, |
|
|
|
LegacyRPCsEnabled: true, |
|
|
|
RpcFilterFile: "", |
|
|
|
RpcFilterFile: "./.hmy/rpc_filter.txt", |
|
|
|
RateLimterEnabled: true, |
|
|
|
RateLimterEnabled: true, |
|
|
|
RequestsPerSecond: 2000, |
|
|
|
RequestsPerSecond: 2000, |
|
|
|
}, |
|
|
|
}, |
|
|
@ -720,7 +720,7 @@ func TestRPCOptFlags(t *testing.T) { |
|
|
|
EthRPCsEnabled: true, |
|
|
|
EthRPCsEnabled: true, |
|
|
|
StakingRPCsEnabled: true, |
|
|
|
StakingRPCsEnabled: true, |
|
|
|
LegacyRPCsEnabled: true, |
|
|
|
LegacyRPCsEnabled: true, |
|
|
|
RpcFilterFile: "", |
|
|
|
RpcFilterFile: "./.hmy/rpc_filter.txt", |
|
|
|
RateLimterEnabled: false, |
|
|
|
RateLimterEnabled: false, |
|
|
|
RequestsPerSecond: 2000, |
|
|
|
RequestsPerSecond: 2000, |
|
|
|
}, |
|
|
|
}, |
|
|
|