Skip to content

Commit

Permalink
Lower CU budget for mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
guibescos committed Nov 11, 2023
1 parent 233e63c commit 3603ed6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/config.sample.pythnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ key_store.mapping_key = "AHtgzX45WTKfkPG53L6WYhGEXwQkN1BVknET3sVsLL8J"
# during periods of high network congestion.
exporter.compute_unit_price_micro_lamports = 4000

# Maximum number of compute units that each update_price transaction might consume.
# For solana mainnet, this should be set to 20000 instead of the default 40000
# since there is no accumuator.
exporter.compute_unit_limit = 20000

# Whether the dynamic compute unit pricing is enabled.
# This is needed for solana to be able to land transactions on the network
# during periods of high network congestion.
Expand Down

0 comments on commit 3603ed6

Please sign in to comment.