From 3603ed609d319ca3b2bd2147484d57e11be3ee3a Mon Sep 17 00:00:00 2001 From: Guillermo Bescos Date: Sat, 11 Nov 2023 17:24:47 +0000 Subject: [PATCH] Lower CU budget for mainnet --- config/config.sample.pythnet.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/config.sample.pythnet.toml b/config/config.sample.pythnet.toml index aacc96e..c70d123 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 +# 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.