Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Production 2024-09-13_01 #2655

Merged
merged 2 commits into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading