Skip to content

Commit

Permalink
Lower CU budget for mainnet (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
guibescos authored Nov 11, 2023
1 parent 233e63c commit a723612
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

# Compute unit limit requested per instruction for transactions that update the price.
# This should be an upper bound of the compute units a single upd_price instruction might consume.
# For solana mainnet, this should be set to 20000 instead of the default 40000 since there is no accumulator.
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 a723612

Please sign in to comment.