Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimization from Anastasia Labs #46

Merged
merged 3 commits into from
Apr 2, 2024
Merged

Conversation

h2physics
Copy link
Member

@h2physics h2physics commented Mar 8, 2024

  • Optimize input_indexes by using ByteArray
  • Ad hoc swap value comparision
  • Throughput change: 30 -> 38 orders

Base automatically changed from richard/global-setting to develop March 9, 2024 10:04
@h2physics h2physics marked this pull request as ready for review March 11, 2024 02:31
@h2physics h2physics merged commit 7f45b4e into develop Apr 2, 2024
1 check passed
@h2physics h2physics deleted the anastasia-optimization branch April 2, 2024 07:12
h2physics added a commit that referenced this pull request Apr 16, 2024
* move Liquidity Pool logic to Pool batching Withdrawal contract (#31)

* move Liquidity Pool logic to Pool batching Withdrawal contract

* use inline datum for contracts except order

* refactor code

* add dynamic fee support

* fix test

* feat: support bidirectional fee (#32)

* allow order can decide its amount by specific amount or relying on amount in its value and update spec doc (#37)

* allow order can decide its amount by specific amount or relying on amount in its value and update spec doc

* strict datum type of sender and receiver

* add offchain testing (#40)

* add offchain testing

* remove unused file

* pump aiken ci

* support donation order [MIN-532] (#42)

* support donation order

* update spec

* change test admin policy id

* use 10000 as default fee denominator (#43)

* use 10000 as default fee denominator

* fix docs and comment

* handle global setting to store authorizer that can interact with pool contract (#45)

* fix initialization transaction

* Optimization from Anastasia Labs (#46)

* Optimization from Anastasia Labs

* adhoc compare swap value (#47)

* adhoc compare swap value

* add more comments

* resolve audit finding (#48)

* remove redundant code

* verify only pool script & author script (if have) is allowed on some pool's redeemers

* Test for math functions (#49)

* increase Pool Minimum ADA from 3 ADA to 4.5 ADA to buffer for ledger change and inline datum (#50)

* increase Pool Minimum ADA from 3 ADA to 4.5 ADA to buffer for ledger change and inline datum

* update script

---------

Co-authored-by: Minggggg <80378612+haminh02@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant