Dev Kalra
e7bf47a18e
feat(entropy-v2): request with callback ( #1342 )
...
* request with callback
* address comments
* pre-commit
* compilation successful
* pre-commit
* add tests
* generate-abis
* pre-commit
* correct version
* address comments
* pre-commit
* remove unused
* add comments
* pre-commit
* gen abi
* naming consistency
* remove gas limit comment
* requestWithCallback comment
* remove unnecessary asserts
* pre commit
* update request with callback coment
* abis regen
* refactor as per feedback
* abi gen
* rename
* implement ientropyconsumer
* gen abi
* comment entropy consumer
* test fix
* add comment
* reintroduce blockhash
* add error for invalid reveal call
* use getEntropy in entropy consumer
* add test for requestAndRevealWithCallback
* pass through for entropy consumer
* pre commit fix
* abi gen
* address comments
* address feedback
* gen abis
* pre commit run
2024-03-12 01:58:57 +05:30
Amin Moghaddam
16b60d426e
Add entropy error signatures for easier access and debugging ( #1259 )
...
* Add entropy error signatures for easier access and debugging
* Add signatures for ExecutorErrors
2024-01-30 11:32:48 +01:00
Dev Kalra
5d951ee755
[entropy] audit 4. users can influence the Entropy revealed result ( #1179 )
...
* add a check for blockhash
* add comment
* update test name
* comment update
* change block number
* change order for assertions
* pre commit run
* names and comments
2023-12-14 17:57:45 +05:30
Jayant Krishnamurthy
97bbc8cef9
add authorization for reveal method ( #1156 )
2023-11-30 13:28:00 -08:00
Dev Kalra
ae7610b0ab
[entropy] governance ( #1154 )
...
* governance
* correct comment
* add upgradability
* remove unused lib
* update governance and update logic
* change specifiers
* fix tests
* add tests
* rebase bug fixes
* change error name
* fix tests
* no need of UUPSProxy
* minimise the amount of code
* separate file for authorized tests
* add comment
* correct comment
2023-11-30 16:29:35 +05:30
Jayant Krishnamurthy
b2e4d56d36
[entropy] Entropy gas benchmarks and optimizations ( #1153 )
...
* add gas benchmark
* fix benchmark
* fix benchmark
* fix benchmark
* optimization 1: remove provider
* move to u128 for fees
* update benchmark
* comment
* reduce commitment storage
* optimize storage more
* fix fee fields in state
* hmm
* ok
* fix
* cleanup
* this got out of hand
* test overflow conditions
* fix bad merge
* doc
2023-11-29 14:37:42 -08:00
Jayant Krishnamurthy
fe7984d132
[entropy] Rename files ( #1127 )
...
* rename stuff
* fix
* fix
2023-10-31 08:50:15 -07:00