solana: speed up test
This commit is contained in:
parent
6c6a41c03d
commit
63acedc0dc
|
@ -30,6 +30,10 @@ startup_wait = 16000
|
||||||
[test.validator]
|
[test.validator]
|
||||||
url = "https://api.devnet.solana.com"
|
url = "https://api.devnet.solana.com"
|
||||||
|
|
||||||
|
### At 160 ticks/s, 64 ticks per slot implies that leader rotation and voting will happen
|
||||||
|
### every 400 ms. A fast voting cadence ensures faster finality and convergence
|
||||||
|
ticks_per_slot = 8
|
||||||
|
|
||||||
### Forked Wormhole Circle Integration Program
|
### Forked Wormhole Circle Integration Program
|
||||||
[[test.validator.clone]]
|
[[test.validator.clone]]
|
||||||
address = "wCCTPvsyeL9qYqbHTv3DUAyzEfYcyHoYw5c4mgcbBeW"
|
address = "wCCTPvsyeL9qYqbHTv3DUAyzEfYcyHoYw5c4mgcbBeW"
|
||||||
|
|
|
@ -181,8 +181,8 @@ export async function loadProgramBpf(
|
||||||
);
|
);
|
||||||
|
|
||||||
// Sometimes the validator fails to fetch a blockhash after this buffer gets loaded, so we wait
|
// Sometimes the validator fails to fetch a blockhash after this buffer gets loaded, so we wait
|
||||||
// a bit to ensure that doesn't happen.
|
// a bit to ensure that doesn't happen. Uncomment this in if this is an issue.
|
||||||
await new Promise((resolve) => setTimeout(resolve, 5000));
|
//await new Promise((resolve) => setTimeout(resolve, 5000));
|
||||||
|
|
||||||
// Return the pubkey for the buffer (our new program implementation).
|
// Return the pubkey for the buffer (our new program implementation).
|
||||||
return buffer;
|
return buffer;
|
||||||
|
|
Loading…
Reference in New Issue