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

Add new /api/v1/contracts/results/{transactionIdOrHash}/opcodes endpoint #8174

Open
Tracked by #6781
georgi-l95 opened this issue Apr 25, 2024 · 0 comments · May be fixed by #8245
Open
Tracked by #6781

Add new /api/v1/contracts/results/{transactionIdOrHash}/opcodes endpoint #8174

georgi-l95 opened this issue Apr 25, 2024 · 0 comments · May be fixed by #8245
Assignees
Labels
enhancement Type: New feature limechain Work planned for the LimeChain team web3 Area: Web3 API

Comments

@georgi-l95
Copy link
Contributor

georgi-l95 commented Apr 25, 2024

As part of the work package to support tracing transactions and externalizing the executed opcodes, we'd need to add new endpoint on path /api/v1/contracts/results/{transactionIdOrHash}/opcodes, however important detail should be that this endpoint will be disabled by default. Can be used and enabled only on local or custom networks and won't be available on the official public ones.
Spring supports this, one example how we can achieve this behaviour is https://docs.spring.io/spring-boot/reference/features/developing-auto-configuration.html#features.developing-auto-configuration.condition-annotations.property-conditions

Current contract call route can be found here. New route can be influenced by it, we should also add rate limiting and hash validation.

More info can be found here.

@georgi-l95 georgi-l95 added enhancement Type: New feature web3 Area: Web3 API limechain Work planned for the LimeChain team labels Apr 25, 2024
@victor-yanev victor-yanev linked a pull request May 7, 2024 that will close this issue
2 tasks
@victor-yanev victor-yanev linked a pull request May 8, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Type: New feature limechain Work planned for the LimeChain team web3 Area: Web3 API
Projects
Status: In Review
Development

Successfully merging a pull request may close this issue.

2 participants