Skip to content

Commit

Permalink
Merge pull request #2655 from brave-intl/master
Browse files Browse the repository at this point in the history
Production 2024-09-13_01
  • Loading branch information
clD11 committed Sep 12, 2024
2 parents 770433a + 35f7182 commit f19ff94
Show file tree
Hide file tree
Showing 22 changed files with 3,281 additions and 878 deletions.
50 changes: 0 additions & 50 deletions libs/clients/radom/instrumented.go

This file was deleted.

20 changes: 0 additions & 20 deletions libs/clients/radom/mock.go

This file was deleted.

212 changes: 0 additions & 212 deletions libs/clients/radom/radom.go

This file was deleted.

11 changes: 0 additions & 11 deletions libs/context/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,17 +115,6 @@ const (
// DisableSolanaLinkingCTXKey - this informs if solana linking is enabled
DisableSolanaLinkingCTXKey CTXKey = "disable_solana_linking"

// RadomWebhookSecretCTXKey - the webhook secret key for radom integration
RadomWebhookSecretCTXKey CTXKey = "radom_webhook_secret"
// RadomEnabledCTXKey - this informs if radom is enabled
RadomEnabledCTXKey CTXKey = "radom_enabled"
// RadomSellerAddressCTXKey is the seller address on radom
RadomSellerAddressCTXKey CTXKey = "radom_seller_address"
// RadomServerCTXKey is the server address on radom
RadomServerCTXKey CTXKey = "radom_server"
// RadomSecretCTXKey is the server secret on radom
RadomSecretCTXKey CTXKey = "radom_secret"

// stripe related keys

// StripeEnabledCTXKey - this informs if stripe is enabled
Expand Down
7 changes: 0 additions & 7 deletions services/grant/cmd/grant.go
Original file line number Diff line number Diff line change
Expand Up @@ -630,13 +630,6 @@ func GrantServer(
ctx = context.WithValue(ctx, appctx.StripeWebhookSecretCTXKey, viper.GetString("stripe-webhook-secret"))
ctx = context.WithValue(ctx, appctx.StripeSecretCTXKey, viper.GetString("stripe-secret"))

// Variables for Radom.
ctx = context.WithValue(ctx, appctx.RadomEnabledCTXKey, viper.GetBool("radom-enabled"))
ctx = context.WithValue(ctx, appctx.RadomWebhookSecretCTXKey, viper.GetString("radom-webhook-secret"))
ctx = context.WithValue(ctx, appctx.RadomSecretCTXKey, viper.GetString("radom-secret"))
ctx = context.WithValue(ctx, appctx.RadomServerCTXKey, viper.GetString("radom-server"))
ctx = context.WithValue(ctx, appctx.RadomSellerAddressCTXKey, viper.GetString("radom-seller-address"))

// require country present from uphold txs
ctx = context.WithValue(ctx, appctx.RequireUpholdCountryCTXKey, viper.GetBool("require-uphold-destination-country"))

Expand Down
Loading

0 comments on commit f19ff94

Please sign in to comment.