@@ -71,6 +71,8 @@ func TestSchema_Unmarshal(t *testing.T) {
7171 "GatewayUnauthenticatedRequestRateLimitPerIP": "1rps:100",
7272 "GatewayIncomingPayloadSizeLimit": "14kb",
7373 "GatewayVaultManagementEnabled": "true",
74+ "GatewayConfidentialRelayGlobalRate": "20rps:7",
75+ "GatewayConfidentialRelayPerNodeRate": "4rps:2",
7476 "PerOrg": {
7577 "ZeroBalancePruningTimeout": "48h"
7678 },
@@ -125,6 +127,8 @@ func TestSchema_Unmarshal(t *testing.T) {
125127 assert .Equal (t , false , cfg .VaultJWTAuthEnabled .DefaultValue )
126128 assert .Equal (t , false , cfg .VaultOrgIdAsSecretOwnerEnabled .DefaultValue )
127129 assert .Equal (t , false , cfg .VaultForceEmptyOCRRounds .DefaultValue )
130+ assert .Equal (t , config.Rate {Limit : rate .Limit (20 ), Burst : 7 }, cfg .GatewayConfidentialRelayGlobalRate .DefaultValue )
131+ assert .Equal (t , config.Rate {Limit : rate .Limit (4 ), Burst : 2 }, cfg .GatewayConfidentialRelayPerNodeRate .DefaultValue )
128132 assert .Equal (t , 48 * time .Hour , cfg .PerOrg .ZeroBalancePruningTimeout .DefaultValue )
129133 assert .Equal (t , 99 , cfg .PerOwner .WorkflowExecutionConcurrencyLimit .DefaultValue )
130134 assert .Equal (t , 250 * config .MByte , cfg .PerWorkflow .WASMMemoryLimit .DefaultValue )
0 commit comments