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

Feat/evm batch tx editor #80

Merged
merged 3 commits into from
Jan 9, 2024
Merged

Feat/evm batch tx editor #80

merged 3 commits into from
Jan 9, 2024

Conversation

q20274982
Copy link
Member

Summary

add send batch transaction editor in EVM tab

The parts will be implemented in later Pull Requests

Related Links

Asana: https://app.asana.com/0/1201812548509877/1206045904729804/f

Mockup:

Checklist

  • Pasted Asana or Mockup link.
  • Tagged labels.

Prerequisite/Related Pull Requests

Screenshot/Gif

image

@q20274982 q20274982 requested a review from mordochi December 22, 2023 03:29
Copy link

netlify bot commented Dec 22, 2023

Deploy Preview for blocto-sdk-toolkit-testnet ready!

Name Link
🔨 Latest commit 035e585
🔍 Latest deploy log https://app.netlify.com/sites/blocto-sdk-toolkit-testnet/deploys/659cdd7a64ec9a0008847152
😎 Deploy Preview https://deploy-preview-80--blocto-sdk-toolkit-testnet.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

setRequestObject,
account,
}: EvmBatchTxEditorProps): ReactJSXElement => {
const [revert, setRevert] = useState<string>("true");
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

@mordochi mordochi Dec 26, 2023

Choose a reason for hiding this comment

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

另外幫我做成 optional 的可以嗎 因為這個 param 其實可以不帶
wallet 理論上還是要用 revert = false 的方式幫處理掉~想讓 QA 也可以測一下 dapp 沒帶的情況 謝謝!

Copy link
Member Author

Choose a reason for hiding this comment

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

resolved enhance: optional revert and improve empty tx express

  • 新增 unset 處理沒放 revert 的狀況
  • revert flag default 已經是 true 了, 但因為 Radio value prop 不收 boolean, 因此 revert state 那裡是放字串, 有加 RevertOptionMap 處理最後送進 sdk 的 revert 值

Copy link
Member

Choose a reason for hiding this comment

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

我是要說 default 放 false lol 講錯了搜哩XDD
貼的那個 spec 就是寫 default false

src/components/EvmEditors/EvmBatchTxEditor.tsx Outdated Show resolved Hide resolved
@mordochi
Copy link
Member

然後 Netlify 上面的 pre-deploy 失敗ㄛ~ 再幫檢查一下

@q20274982 q20274982 requested a review from mordochi December 27, 2023 04:46
@q20274982 q20274982 force-pushed the feat/evm-batch-tx-panel branch from 9e032ac to 035e585 Compare January 9, 2024 05:45
@q20274982 q20274982 merged commit c634065 into develop Jan 9, 2024
4 checks passed
@q20274982 q20274982 deleted the feat/evm-batch-tx-panel branch January 9, 2024 06:33
@q20274982 q20274982 mentioned this pull request Jan 9, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants