Dev Kalra
6295674efa
feat(fortuna-v2): implement a keeper service for entropy v2 ( #1366 )
...
* extract code to run api
* save
* some changes
* add exit checks
* retry for sub threads and fetch events
* handle events
* remove unused
* compiling
* add logs to keeper
* add simulation and some fixed
* refactoring keeper
* backlog refactoring works
* extract handle event
* extract watch blocks in a method
* handle events extracted
* remove res block from backlog method
* remove res block from watch_blocks
* remove res block from process events
* load private key from file
* add gas limit to blockchain config
* remove unused imports
* remove a log
* gas param u256
* spell simulate
* rename keeper private keeper file
* wait for only api to exit
* remove exit check from keeper
* remove is valid request method as simulate will cover things
* remove some parameters
* remove exit check from keeper
* use saturating sub
* correct condition
* update logging statement
* combine logs
* use nonce manager to send transaction
* poll instead of stream and add nonce middleware
* remove unused
* fix tests
* add ws support to streaming
* Refactor and improve error handling
* replace simulation with gas estimation
* add polling support for when no wss url
* version update
* test check
* update comment
* update key comment
* rename chain_config to chain_state
* update version
* pad gas estimate
* add comments
---------
Co-authored-by: Amin Moghaddam <amin@pyth.network>
2024-04-04 01:14:20 +05:30
Dev Kalra
eaaa74a44e
feat(Fortuna): add finality checks ( #1322 )
2024-02-27 19:08:16 +05:30
Dev Kalra
fb4c25485f
[fortuna] improve logging and update uri encoding ( #1317 )
...
* [fortuna] improve logging
* update version
* update uri encoding
2024-02-22 15:32:15 +05:30
Amin Moghaddam
a71f422ddc
fix(fortuna): add log for reveal failure
2024-02-21 10:39:40 +01:00
Amin Moghaddam
cfe8d0f777
fix(entropy): Update fortuna domain
2024-02-21 10:39:40 +01:00
Amin Moghaddam
5dcf5cac4f
Multiply gas usage by 2 when setting up the provider ( #1291 )
2024-02-09 19:43:10 +01:00
Dev Kalra
58411495a0
[Fortuna] register fortuna uri on chain ( #1257 )
...
* uri registration
* pre-commit
* use uri to create register uri
* pre commit
* move get register uri to api
2024-01-30 14:00:51 +05:30
Dev Kalra
ab10b9f5fa
[fortuna] script to setup a provider for all chains ( #1229 )
...
* auto register script
* renaming
* add comments
* update abi file path
* pre commit
* pre commit
* resolved some
* better comment
* resolve comments
* fix bug
* pre commit
* fix
* update version
2024-01-23 01:53:19 +05:30
Dev Kalra
0eee513bf9
[fortuna] bind provider and contract address ( #1218 )
...
* bind provider and contract address
* pre commit
2024-01-10 14:49:34 +05:30
Dev Kalra
3e05edba24
[fortuna] accept only a secret file as argument ( #1204 )
...
* accept file only
* pre commit
2024-01-08 16:24:43 +05:30
Dev Kalra
cd604d56f2
copy dependency too ( #1203 )
2024-01-04 15:54:23 +05:30
Dev Kalra
009c5cdabe
[audit] Secrets appear in environment variables and command line arguments ( #1201 )
...
* accept secret as a file too
* run pre-commit
* address feedback
2024-01-04 14:47:33 +05:30
Dev Kalra
5bdc7adf5e
[fortuna] sample config ( #1193 )
...
* it should be a sample config
* fix pre commit
* remove config.yaml
2023-12-19 17:23:45 +05:30
guibescos
0a86414523
[pythnet-sdk] Fix CI. Make dependency path. ( #1188 )
...
* Update status
* Lfg
2023-12-16 02:21:11 +07:00
Dev Kalra
3ecbca7daa
[fortuna] update config and abi ( #1187 )
...
* update config and abi
* introduce sepolia later
* update sdk readme
* fix lightlink issue
* update link
2023-12-15 17:30:38 +05:30
Dev Kalra
d420786166
[entropy] audit: 7. Entropy providers may reveal seed before request is finalized ( #1182 )
...
* check request at the most recent finalized block
* update version
2023-12-14 17:55:10 +05:30
Jayant Krishnamurthy
c592fd36ca
[fortuna] Add confirmation delay before responding ( #1161 )
...
* Update abi
* fix tests
* update contract
* fix fortuna
* test confirmation delay
* cleanup
* fix
* split the fields
* saturating sub
* rename
2023-12-04 10:25:00 +01:00
Jayant Krishnamurthy
21a4ec8277
[entropy] Update readmes and docs ( #1163 )
...
* add some docs
* more doc edits
2023-12-03 09:14:46 -08:00
Jayant Krishnamurthy
a5646bf840
[entropy] Add a default provider ( #1150 )
...
* making a mess here
* add default provider
* cleanup
* test new abi
* add uri to fortuna
* pr comments
2023-11-27 18:40:36 -08:00
Jayant Krishnamurthy
b7a089b51e
[entropy] Change provider interface to simplify supporting many chains ( #1149 )
...
* grr
* cleanup
* fix semver
2023-11-27 07:39:54 -08:00
Jayant Krishnamurthy
a22b202772
[fortuna] Add tests ( #1133 )
...
* fix stuff
* ok that was annoying
* ok
* stuff
* better tests
* cleanup
* pr comments
2023-11-20 12:44:26 -08:00
Jayant Krishnamurthy
c0b383e277
[entropy] add arbitrum goerli ( #1139 )
2023-11-09 13:58:09 -08:00
Jayant Krishnamurthy
8e11d4f442
minor stuff ( #1132 )
2023-11-03 10:04:54 -07:00
Jayant Krishnamurthy
8c35091831
[entropy] Minor updates to parameters / docs ( #1131 )
...
* update parameters
* install instructions
* format stuff
2023-11-01 13:34:47 -07:00
Jayant Krishnamurthy
46b597e653
[fortuna] support multiple random value encodings ( #1129 )
2023-11-01 12:40:21 -07:00
Jayant Krishnamurthy
f0a077a2cf
[fortuna] Add legacy transaction support ( #1126 )
...
* gr
* support legacy transactions
* doc
2023-10-31 12:13:12 -07:00
Jayant Krishnamurthy
ddbbe2af14
Entropy Solidity SDK & usage example ( #1124 )
...
* grr
* revert
* ok
* ok
* ok
* deploy script
* implement interface
* doc comments
* fix comment
2023-10-31 06:32:21 -07:00
Jayant Krishnamurthy
4776bdcdf9
Fortuna CI workflows ( #1120 )
...
* CI and docker
* cleanup
* erc
* whoops
2023-10-20 10:49:41 -07:00
Jayant Krishnamurthy
d87cd7c5fd
Rename pyth-rng to Fortuna ( #1119 )
2023-10-20 09:41:05 -07:00