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

#946 | Display the function names when possible on transactions table #951

Conversation

Viterbo
Copy link
Collaborator

@Viterbo Viterbo commented Jan 27, 2025

Fixes #946

Description

This PR enhances the way the component MethodField obtains the function's name. If the contract parsing fails, it falls back to the abi section of the response which may contain a function signatures map.

Test scenarios

Before:

https://testnet.teloscan.io/address/0x689F601fA828C089B1DC1D7530595684fF9f84D6?tab=transactions
image

After:

https://deploy-preview-951--testnet-teloscan.netlify.app/address/0x689F601fA828C089B1DC1D7530595684fF9f84D6?tab=transactions
image

@Viterbo Viterbo self-assigned this Jan 27, 2025
Copy link

netlify bot commented Jan 27, 2025

Deploy Preview for testnet-teloscan ready!

Name Link
🔨 Latest commit a10ab70
🔍 Latest deploy log https://app.netlify.com/sites/testnet-teloscan/deploys/6797ea32458f970008e3f75b
😎 Deploy Preview https://deploy-preview-951--testnet-teloscan.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.

Copy link

netlify bot commented Jan 27, 2025

Deploy Preview for teloscan-stage ready!

Name Link
🔨 Latest commit a10ab70
🔍 Latest deploy log https://app.netlify.com/sites/teloscan-stage/deploys/6797ea3202f9f000086f49a1
😎 Deploy Preview https://deploy-preview-951--teloscan-stage.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.

Copy link

netlify bot commented Jan 27, 2025

Deploy Preview for dev-mainnet-teloscan ready!

Name Link
🔨 Latest commit a10ab70
🔍 Latest deploy log https://app.netlify.com/sites/dev-mainnet-teloscan/deploys/6797ea324840f200086ebceb
😎 Deploy Preview https://deploy-preview-951--dev-mainnet-teloscan.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.

Copy link

netlify bot commented Jan 27, 2025

Deploy Preview for zkevm-testnet ready!

Name Link
🔨 Latest commit a10ab70
🔍 Latest deploy log https://app.netlify.com/sites/zkevm-testnet/deploys/6797ea32c94eb400086b308e
😎 Deploy Preview https://deploy-preview-951--zkevm-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.

@pmjanus pmjanus merged commit 4ec3ce1 into dev Jan 27, 2025
17 checks passed
@pmjanus pmjanus deleted the 946-display-the-function-names-when-possible-on-transactions-table branch January 27, 2025 20:36
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