Repository navigation
Fix/single frame auth - #1465
Merged
greatest0fallt1me merged 13 commits intoOct 24, 2026
Merged
greatest0fallt1me merged 13 commits into
greatest0fallt1me merged 13 commits into
Conversation
Feature/dispute refund
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
@akinboyewaSamson Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes #1457
Search Tools
List pull requests
Completed with input: {
"owner": "akinboyewaSamson",
"repo": "predictify-contracts",
"head": "akinboyewaSamson:fix/single-frame-auth",
"state": "all",
"perPage": 10,
"fields": [
"number",
"title",
"body",
"state",
"html_url",
"head",
"base",
"created_at"
]
}
Get commit details
Completed with input: {
"owner": "akinboyewaSamson",
"repo": "predictify-contracts",
"sha": "d6220d1c1c79e8459df770e1cd9ba4541e0c1d8f",
"detail": "stats"
}
Ran terminal command: cargo test -p predictify-hybrid --lib
Tool execution failed with exit code 101
Ran terminal command: cargo check -p predictify-hybrid --no-default-features
Tool execution failed with exit code 101
Below is a copy-ready PR description using the repository template. Replace
#<issue number>before submitting; no issue number was provided. It also notes that this branch only contains some of the entrypoints described in the original request, and that tests and builds have not passed locally.A GNU-target check was also blocked by Windows Application Control (
os error 4551). CI, coverage, full/slim WASM builds, and WASM size have not been verified.Alternative Solutions Considered
Keeping authentication in both the entrypoint and manager triggers the duplicate-auth hazard. Removing authentication from the entrypoint would leave it outside the contract boundary. This change instead keeps auth at the entrypoint and makes the authorized manager methods crate-private.
🏗️ Smart Contract Specific
Contract Changes
Please check all that apply:
Oracle Integration
Market Resolution Logic
Security Considerations
🧪 Testing
Test Coverage
Test Results
Manual Testing Steps
mock_authswith one signer authorization entry per invocation.📚 Documentation
Documentation Updates
Breaking Changes
Breaking Changes:
Migration Guide:
No migration required.
🔍 Code Quality
Code Review Checklist
Performance Impact
Security Review
🚀 Deployment & Integration
Deployment Notes
Integration Points
📊 Impact Assessment
User Impact
Business Impact
✅ Final Checklist
Pre-Submission
Review Readiness
📸 Screenshots (if applicable)
Not applicable.
🔗 Additional Resources
docs/TESTING.md💬 Notes for Reviewers
Please pay special attention to:
mock_all_auths.Questions for reviewers:
Thank you for your contribution to Predictify! 🚀