Skip to content

Commit ec36079

Browse files
authored
Release cutoff v1.1.0 (#55)
* Cargo.toml: bump to 1.1.0 for release * oracle.rs: Chaange lookup batch size default to 100 * integration-tests: Give agent more time to produce the expected result * Remove stray nix changes * Remove more stray nix changes
1 parent 2400a6b commit ec36079

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyth-agent"
3-
version = "1.0.0"
3+
version = "1.1.0"
44
edition = "2021"
55

66
[[bin]]

config/config.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ key_store.root_path = "/path/to/keystore"
3636
# timeouts on data fetching. In order to keep concurrent open
3737
# socket count at bay, the batches are looked up sequentially,
3838
# trading off overall time it takes to fetch all symbols.
39-
# oracle.max_lookup_batch_size = 200
39+
# oracle.max_lookup_batch_size = 100
4040

4141
# Duration of the interval at which to refresh the cached network state (current slot and blockhash).
4242
# It is recommended to set this to slightly less than the network's block time,

integration-tests/tests/test_integration.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -373,11 +373,11 @@ async def test_update_price_simple(self, client: PythAgentClient):
373373

374374
# Send an "update_price" request
375375
await client.update_price(price_account, 42, 2, "trading")
376-
time.sleep(2)
376+
time.sleep(3)
377377

378378
# Send another "update_price" request to trigger aggregation
379379
await client.update_price(price_account, 81, 1, "trading")
380-
time.sleep(2)
380+
time.sleep(3)
381381

382382
# Confirm that the price account has been updated with the values from the first "update_price" request
383383
product = await client.get_product(product_account)

src/agent/solana/oracle.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ impl Default for Config {
120120
subscriber_enabled: true,
121121
updates_channel_capacity: 10000,
122122
data_channel_capacity: 10000,
123-
max_lookup_batch_size: 200,
123+
max_lookup_batch_size: 100,
124124
}
125125
}
126126
}

0 commit comments

Comments
 (0)