Skip to content

[Bug] function explorer redirecting for some functions#73

Description

@dumbdevss

馃悰 Bug Description

On the testnet and mainnet explorer, the link to some function calls redirects to the object URL. It seems the contract was deployed at that object address. When I clicked the price_adapter::write_price function in the image, it redirected to this URL:
https://explorer.movementnetwork.xyz/account/0x5e23c9da7dc5d607d935d5989e81aca925d3267793f041cb3f199ea1f28fb24f/modules/code/price_adapter/write_price?network=bardock+testnet

It looks like the address is not an account address but an object address. Instead, it redirected to:
https://explorer.movementnetwork.xyz/object/0x5e23c9da7dc5d607d935d5989e81aca925d3267793f041cb3f199ea1f28fb24f?network=bardock+testnet

Can we make the redirect point to the same URL but include the path the user intended to navigate to, such as:
https://explorer.movementnetwork.xyz/object/0x5e23c9da7dc5d607d935d5989e81aca925d3267793f041cb3f199ea1f28fb24f/modules/code/price_adapter/write_price?network=bardock+testnet

Example

Example Image

How to Reproduce

Reproduction Steps Image

Expected Behavior

Expected Behavior Image

System Information

System Details:

  • Browser: [e.g., Chrome, Safari]
  • Platform: [e.g., Desktop, Mobile]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions