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

chore: update l1 fee calculation in estimateGasFee #285

Merged
merged 15 commits into from
Mar 27, 2024

Conversation

npty
Copy link
Member

@npty npty commented Mar 15, 2024

Copy link

changeset-bot bot commented Mar 15, 2024

🦋 Changeset detected

Latest commit: b521d08

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@axelarjs/api Patch
@axelarjs/deposit-address Patch
@axelarjs/transaction-recovery Patch
@axelarjs/maestro Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Mar 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
axelar-maestro ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 20, 2024 1:28pm
axelar-registry ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 20, 2024 1:28pm
axelar-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 20, 2024 1:28pm

@npty npty merged commit dfcf1a1 into main Mar 27, 2024
5 of 6 checks passed
@npty npty deleted the chore/update-estimate-gas-fee branch March 27, 2024 13:01
npty added a commit that referenced this pull request Apr 10, 2024
* chore: upgrade prettier, pretty-quick & prettier plugins + run format on repo

* chore: use es5 mode for trailing commas

* chore: split mainnet & testnet clients + add test for generate clients

* feat: include factory function with each generated contract client class

* feat: generate typedoc for @axelarjs/evm

* chore: add gh-pages & deploy docs script

* chore: deploy docs under https://axelarnetwork.github.io/axelarjs/evm/

* chore: add docs link

* fix: typedoc validation warnings

* chore: untrack docs folder

* chore: migrate turbo with codemod

* chore: simplify docgen

* chore: update clean script

* feat: add docgen to packages/proto

* chore: update entryPoints glob

* chore: add stargateClient usage example

* chore(docs): add usage examples to README

* chore: update docs subpath

* feat: add docgen

* feat: add docgen to turbo pipeline

* chore: update otputs

* feat: add docgen

* chore(docs): document functions

* chore: add deploy:docs to turbo pipeline

* feat: add docgen

* feat: add docgen

* chore: fix gh pages path

* feat: add docgen

* chore(docs): add typedoc badges

* feat: add docgen

* chore(docs): add changelog badges

* chore: move readme

* chore(deps): upgrade dependencies

* chore: fix btn length class

* fix: use for-of loop for bulk update inside pg txn

* fix(ui): fix Button component loading state forwarding

* chore: revert where logic for bulk update

* chore: update l1 fee calculation in estimateGasFee (#285)

* chore: update l1 fee calculation in estimateGasFee

* chore: remove `destinationContractAddress` from EstimateL1FeeParams

* chore: remove unused params

* chore: update changeset

* chore: remove test.only

* chore: fix gas limit low error

* chore: fix use l1GasOracleAddress

* chore: remove multicall

* chore: fix potential math error

* chore: remove mantle fee

* chore: update tests

* chore: cleanup

* chore: make gasMultiplier optional

* chore: add @axelarjs/utils as dependency

* chore: apply changesets

* chore: update axelar logo (#319)

* chore: add axelar-logo

* chore: update axelar logo from x to full

* chore: add report bug button (#321)

* chore: add report bug button

* Update apps/maestro/src/ui/layouts/MainLayout/MainMenu.tsx

---------

Co-authored-by: Canh Trinh <canhtrinh@users.noreply.github.com>

* feat: add whitelist token on squid link (#315)

* chore: make it clear that user can change the chain (#320)

* Feat/banner (#313)

* fix: persist token deployment tx hash as soon as available

* refactor: add versioning to session storage state

* feat: add support action to clear caches

* fix: dedupe chain infos by chain id

* refactor: preemptively provide transaction type

* fix: fix mutation enabled criteria

* chore: only track interchain deployment tx when there are remote chains selected

* chore: migrate daisyui to v4.x

* chore: fix input-group usage

* chore: remove deprecated inputgroup

* feat: introduce Radio component

* fix: reset register remote tokens mutations and tx state on confirmed

* feat: add 'insufficient gas balances' validation on 'interchain transfer'

* chore: update hook dependencies

* feat: setup 'role/status' based route protection with next-auth

* chore: add warning if fixed supply token has zero initial supply

* feat: add new interchainToken RPCs

* feat: add kvClient read/write methods for tokenMeta

* feat: implement ManageTokenIcon ux flow

* chore: update text

* chore: copy tweaks

* chore: enable _source filters on remaining calls

* chore: apply turbo codemod

* chore: disable input while mutating

* chore: improved token icon url validation

* chore: improved token icon url validation

* chore: restore prompt

* chore: allow setting bg from page

* chore: cleanup getTopTransactions

* chore: cleanup getTopTransactions

* chore: remove misleading input

* chore: upgrade turbo

* chore: upgrade dependencies within range

* chore: hiding manage token icon feature in a flag

* chore: fix issue with _source in underlying API

* chore: format token details title

* chore: adding banner about sends

---------

Co-authored-by: alanrsoares <alan@axelar.network>
Co-authored-by: Alan Soares <alanrsoars@gmail.com>

* feat: add dex links (#317)

* feat: add dex for adding liq

* feat: add remaining dexes

* chore: fix tokenAddress not being used

* chore: only show add liquidity on mainnet

* chore: more comment

* chore: update the directory for dexes logo

* chore: update axelarjs sdk to 0.15.0 and pass executeData (#324)

* chore: update axelarjs-sdk to 0.15.0

* chore: add execute data to each estimateGas calls

* chore: add marketing form (#318)

* chore: fix typo

* chore: add marketing form link

* chore: implement gform prefill (#327)

* chore: implement gform prefill

* chore: refactor

* chore: update ITS contracts to v1.2.4 (#307)

* chore: update @axelar-network/interchain-token-service package to 1.2.4

* chore: run `pnpm codegen`

* chore: run `pnpm sync` under apps/maestro folder

* chore: run `pnpm codegen` under apps/maestro folder

---------

Co-authored-by: Alan Soares <alanrsoars@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Canh Trinh <canhtrinh@users.noreply.github.com>
Co-authored-by: alanrsoares <alan@axelar.network>
canhtrinh added a commit that referenced this pull request Apr 16, 2024
* chore: upgrade prettier, pretty-quick & prettier plugins + run format on repo

* chore: use es5 mode for trailing commas

* chore: split mainnet & testnet clients + add test for generate clients

* feat: include factory function with each generated contract client class

* feat: generate typedoc for @axelarjs/evm

* chore: add gh-pages & deploy docs script

* chore: deploy docs under https://axelarnetwork.github.io/axelarjs/evm/

* chore: add docs link

* fix: typedoc validation warnings

* chore: untrack docs folder

* chore: migrate turbo with codemod

* chore: simplify docgen

* chore: update clean script

* feat: add docgen to packages/proto

* chore: update entryPoints glob

* chore: add stargateClient usage example

* chore(docs): add usage examples to README

* chore: update docs subpath

* feat: add docgen

* feat: add docgen to turbo pipeline

* chore: update otputs

* feat: add docgen

* chore(docs): document functions

* chore: add deploy:docs to turbo pipeline

* feat: add docgen

* feat: add docgen

* chore: fix gh pages path

* feat: add docgen

* chore(docs): add typedoc badges

* feat: add docgen

* chore(docs): add changelog badges

* chore: move readme

* chore(deps): upgrade dependencies

* chore: fix btn length class

* fix: use for-of loop for bulk update inside pg txn

* fix(ui): fix Button component loading state forwarding

* chore: revert where logic for bulk update

* chore: update l1 fee calculation in estimateGasFee (#285)

* chore: update l1 fee calculation in estimateGasFee

* chore: remove `destinationContractAddress` from EstimateL1FeeParams

* chore: remove unused params

* chore: update changeset

* chore: remove test.only

* chore: fix gas limit low error

* chore: fix use l1GasOracleAddress

* chore: remove multicall

* chore: fix potential math error

* chore: remove mantle fee

* chore: update tests

* chore: cleanup

* chore: make gasMultiplier optional

* chore: add @axelarjs/utils as dependency

* chore: apply changesets

* chore: update axelar logo (#319)

* chore: add axelar-logo

* chore: update axelar logo from x to full

* chore: add report bug button (#321)

* chore: add report bug button

* Update apps/maestro/src/ui/layouts/MainLayout/MainMenu.tsx

---------

Co-authored-by: Canh Trinh <canhtrinh@users.noreply.github.com>

* feat: add whitelist token on squid link (#315)

* chore: make it clear that user can change the chain (#320)

* Feat/banner (#313)

* fix: persist token deployment tx hash as soon as available

* refactor: add versioning to session storage state

* feat: add support action to clear caches

* fix: dedupe chain infos by chain id

* refactor: preemptively provide transaction type

* fix: fix mutation enabled criteria

* chore: only track interchain deployment tx when there are remote chains selected

* chore: migrate daisyui to v4.x

* chore: fix input-group usage

* chore: remove deprecated inputgroup

* feat: introduce Radio component

* fix: reset register remote tokens mutations and tx state on confirmed

* feat: add 'insufficient gas balances' validation on 'interchain transfer'

* chore: update hook dependencies

* feat: setup 'role/status' based route protection with next-auth

* chore: add warning if fixed supply token has zero initial supply

* feat: add new interchainToken RPCs

* feat: add kvClient read/write methods for tokenMeta

* feat: implement ManageTokenIcon ux flow

* chore: update text

* chore: copy tweaks

* chore: enable _source filters on remaining calls

* chore: apply turbo codemod

* chore: disable input while mutating

* chore: improved token icon url validation

* chore: improved token icon url validation

* chore: restore prompt

* chore: allow setting bg from page

* chore: cleanup getTopTransactions

* chore: cleanup getTopTransactions

* chore: remove misleading input

* chore: upgrade turbo

* chore: upgrade dependencies within range

* chore: hiding manage token icon feature in a flag

* chore: fix issue with _source in underlying API

* chore: format token details title

* chore: adding banner about sends

---------

Co-authored-by: alanrsoares <alan@axelar.network>
Co-authored-by: Alan Soares <alanrsoars@gmail.com>

* feat: add dex links (#317)

* feat: add dex for adding liq

* feat: add remaining dexes

* chore: fix tokenAddress not being used

* chore: only show add liquidity on mainnet

* chore: more comment

* chore: update the directory for dexes logo

* chore: update axelarjs sdk to 0.15.0 and pass executeData (#324)

* chore: update axelarjs-sdk to 0.15.0

* chore: add execute data to each estimateGas calls

* chore: add marketing form (#318)

* chore: fix typo

* chore: add marketing form link

* chore: implement gform prefill (#327)

* chore: implement gform prefill

* chore: refactor

* chore: update ITS contracts to v1.2.4 (#307)

* chore: update @axelar-network/interchain-token-service package to 1.2.4

* chore: run `pnpm codegen`

* chore: run `pnpm sync` under apps/maestro folder

* chore: run `pnpm codegen` under apps/maestro folder

* Update issue templates

* chore: update marketing form label (#334)

* chore: update squid link tooltip (#335)

* chore: update squid link tooltip

* Update apps/maestro/src/ui/pages/InterchainTokenDetailsPage/TokenDetailsSection.tsx

---------

Co-authored-by: Canh Trinh <canhtrinh@users.noreply.github.com>

* chore: note that logo only work at its (#336)

* chore: mention that the uploaded image only be displayed on ITS

* chore: update text a bit

* Update apps/maestro/src/ui/pages/InterchainTokenDetailsPage/TokenDetailsSection.tsx

* Update apps/maestro/src/ui/pages/InterchainTokenDetailsPage/TokenDetailsSection.tsx

---------

Co-authored-by: Canh Trinh <canhtrinh@users.noreply.github.com>

* chore: exclude src chain from "chains to claim token ownership" field (#337)

* chore: exclude src chain

* chore: clean up

* chore: rename bnb chain

* chore: add missing chains

* chore: use dest token address

* chore: fix build error

* docs(changeset): ITS dependency updates and UI/UX enhancements (#330)

* docs(changeset): - feat: prefill claim token ownership form
- chore: update axelarjs-sdk to 0.15.0 and pass executeData for more accurate gas estimation
- chore: add report bug at the footer
- chore: improve clarity in the root page that user can change the chain
- chore: update axelar logo to improve branding prominence
- chore: add provide liquidity button to dex for each chain in the token details page
- chore: update ITS contracts to v1.2.4

* chore: update log in changeset

* chore: changeset evm package

* chore: update changelog

* chore: apply changesets (#340)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: Alan Soares <alanrsoars@gmail.com>
Co-authored-by: npty <78221556+npty@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: alanrsoares <alan@axelar.network>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@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.

2 participants