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

Update Solana SDK to v1.17 #286

Merged
merged 3 commits into from
Feb 27, 2024
Merged

Update Solana SDK to v1.17 #286

merged 3 commits into from
Feb 27, 2024

Conversation

anton-lisanin
Copy link
Collaborator

Update Solana SDK to 1.17.23 and Rust to 1.73

@anton-lisanin anton-lisanin added the fullTestSuite Run OZ tests and part of dapps tests label Feb 26, 2024
@anton-lisanin anton-lisanin self-assigned this Feb 26, 2024
@neonlabstech
Copy link

Dapps report

Cost report for "Aave" dApp

Action Fee Cost in $ Accounts TRx Estimated Gas Used Gas Used % of EG
Token mint 0.00233072 0.0028867210872192003 9 1 1185360 1165360 98.31
Token approve 0.00233072 0.0028867210872192003 9 1 1185360 1165360 98.31
Deposit to lending pool 0.00791088 0.0097980470045568 4 5 4824480 3955440 81.99
Borrow from lending pool 0.00517144 0.006405104388038401 4 30 3779120 2585720 68.42
Repay 0.00049 0.0006068911464 4 27 2586800 245000 9.47
Flashloan 0.00510144 0.0063184056528384 4 28 7464880 2550720 34.17
Withdraw 7e-05 8.669873519999999e-05 4 5 1857760 35000 1.88
Liquidation 0.00340072 0.0042119731824192 4 57 4501520 1700360 37.77

Cost report for "Uniswap V3" dApp

Action Fee Cost in $ Accounts TRx Estimated Gas Used Gas Used % of EG
Token approve 0.00233072 0.0028867210872192003 9 1 1185360 1165360 98.31
NonfungiblePositionManager - Mint position 0.02772144 0.034334482656038404 4 28 31261120 13860720 44.34
NonfungiblePositionManager - Increase liquidity 0.00044 0.0005449634784 23 23 4364240 220000 5.04
NonfungiblePositionManager - Decrease Liquidity 0.00139808 0.0017313599446623998 17 1 4274240 699040 16.35
NonfungiblePositionManager - Collect Fees 0.00464144 0.0057478851722032 20 1 3539120 2320720 65.57
NonfungiblePositionManager - Burn Liquidity Position 2e-05 2.4771067200000004e-05 15 1 3954560 10000 0.25
Direct swap 2e-05 2.4771067200000004e-05 17 1 1328400 10000 0.75
Burn transaction 0.00047936 0.0005937129386496 11 1 739040 239680 32.43
Collect transaction 0.00233072 0.0028867210872192003 12 1 1654720 1165360 70.43

Cost report for "Saddle Finance" dApp

Action Fee Cost in $ Accounts TRx Estimated Gas Used Gas Used % of EG
Add liquidity 0.00234072 0.0028991066208192 3 2 3202800 1170360 36.54
Swap DAI -> USDC 2e-05 2.4771067200000004e-05 21 1 1797760 10000 0.56
Swap USDC -> DAI 2e-05 2.4771067200000004e-05 21 1 1797760 10000 0.56
Remove liquidity 2e-05 2.4771067200000004e-05 23 1 1937440 10000 0.52
Add liquidity in 3 Tokens 0.00283072 0.0035059977672192003 4 30 4241520 1415360 33.37
Swap DAI -> USDC 3 pool 2e-05 2.4771067200000004e-05 21 1 1807760 10000 0.55
Swap USDC -> USDT 3 pool 2e-05 2.4771067200000004e-05 21 1 1807760 10000 0.55
Swap USDC -> DAI 3 pool 2e-05 2.4771067200000004e-05 21 1 1807760 10000 0.55
Remove liquidity 3 pool 3e-05 3.71566008e-05 3 2 2646480 15000 0.57
Add liquidity in metapool 0.00290072 0.0035926965024192 3 31 3292800 1450360 44.05
Swap SUSD -> LP metapool 2e-05 2.4771067200000004e-05 22 1 1807760 10000 0.55
Swap USDC -> SUSD metapool 0.00103 0.0012757099608000002 4 53 3775520 515000 13.64
Swap DAI -> USDT metapool 0.00056 0.0006935898815999999 4 30 3086160 280000 9.07
Remove liquidity in Metapool 2e-05 2.4771067200000004e-05 23 1 1937440 10000 0.52

Copy link

@andreisilviudragnea andreisilviudragnea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also replace cargo build-bpf with cargo build-sbf?

@anton-lisanin anton-lisanin merged commit 7fae4ce into develop Feb 27, 2024
4 checks passed
@anton-lisanin anton-lisanin deleted the update_solana_1_17 branch February 27, 2024 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fullTestSuite Run OZ tests and part of dapps tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants