diff --git a/config/config.sample.pythnet.toml b/config/config.sample.pythnet.toml index aacc96e..7314dd3 100644 --- a/config/config.sample.pythnet.toml +++ b/config/config.sample.pythnet.toml @@ -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.