Conversation
…ps://github.com/Jayrodri088/grainlify into frontend/fetch-project-leaderboard-from-backend
…board-from-backend
…ps://github.com/Jayrodri088/grainlify into frontend/fetch-project-leaderboard-from-backend
….com/Jayrodri088/grainlify into frontend/mobile-responsive-data-page
…ps://github.com/Jayrodri088/grainlify into frontend/fetch-project-leaderboard-from-backend
- Add comprehensive event schema documentation (EVENT_SCHEMA.md) * Define event structures for all contracts * Document event versioning strategy * Provide indexing strategies and retention policies * Include monitoring hooks and filtering examples - Implement event indexing infrastructure (internal/events/indexing.go) * EventIndexer for efficient event querying * Support for time-series, entity-based, and composite queries * Event aggregation capabilities * Event statistics and unindexed event tracking - Implement event monitoring system (internal/events/monitoring.go) * EventMonitor for real-time event listening * AnomalyDetector for detecting unusual patterns * Alert generation and handling * EventFilter and EventAggregator utilities - Implement advanced event filtering (internal/events/filtering.go) * FilterBuilder with fluent API * AdvancedEventFilter with operators (eq, ne, gt, gte, lt, lte, contains, in) * EventFilterStatistics for analytics * EventFilterExporter for JSON/CSV export - Create database migration (migrations/000025_contract_events_indexing.up.sql) * contract_events table with comprehensive indexing * event_alerts table for monitoring alerts * event_metrics table for performance tracking * event_replay_log table for event replay capability * Materialized views for daily statistics * Database functions for cleanup and queries - Add event indexing strategy guide (EVENT_INDEXING_STRATEGY.md) * Architecture overview and data flow * Database schema documentation * Indexing strategies (time-series, entity, composite, JSONB, materialized views) * Query patterns and monitoring hooks * Performance optimization techniques * Event retention policy - Add event versioning documentation (contracts/EVENT_VERSIONING.md) * Semantic versioning scheme (MAJOR.MINOR.PATCH) * Version evolution rules and migration strategies * Deprecation timeline and best practices * Indexer compatibility patterns * Version roadmap - Add implementation guide (EVENT_INDEXING_README.md) * Component overview and architecture * Usage examples for all major features * API integration patterns * Monitoring dashboard metrics * Performance tuning guide * Troubleshooting section Key Features: - Efficient off-chain event indexing with multiple strategies - Real-time event monitoring and anomaly detection - Comprehensive event schema with backward compatibility - Event versioning for smooth schema evolution - Advanced filtering and aggregation capabilities - Performance metrics and SLA tracking - Event retention policies for compliance - Monitoring alerts and dashboards Closes #[event-indexing-issue]
… Soroban contracts - Add error classification system (transient, permanent, partial) - Implement exponential backoff with jitter for retry logic - Add circuit breaker pattern to prevent cascading failures - Support partial success in batch operations with detailed tracking - Implement error state persistence and monitoring - Add comprehensive event emission for all error scenarios - Create 20 passing unit tests covering all error recovery scenarios - Integrate error recovery into program-escrow contract This implementation significantly improves platform reliability by: - Automatically retrying transient failures (network timeouts, rate limits) - Preventing permanent error retries (insufficient funds, invalid addresses) - Allowing batch operations to partially succeed instead of all-or-nothing - Tracking failed batch items for targeted retry - Implementing circuit breakers to prevent system overload - Providing detailed error events for monitoring and debugging All tests passing (36/36)
- Create comprehensive SDK for Grainlify contracts - TypeScript bindings from contract ABIs - Client classes for Core and Escrow contracts - Examples for all workflows: lock funds, release funds, batch payouts, query escrow - Error handling utilities - Complete documentation and usage guide
- Remove node_modules directory from contracts/sdk - Add node_modules/ to root .gitignore to prevent future commits
…ple-languages-project-cards feat: display multiple languages used in projects on project cards
…figuration feat: admin configuration functions
- Fix update_fee_config bug in program-escrow: use correct storage key - Add missing PartiallyReleased case in bounty-escrow get_stats - Remove unused PROGRAM_DATA constant - Update test to use new release_funds signature Closes Jagadeeshftw#156
- Fix update_fee_config bug in program-escrow: use correct storage key - Add missing PartiallyReleased case in bounty-escrow get_stats - Remove unused PROGRAM_DATA constant - Resolve merge conflicts with master Closes Jagadeeshftw#156
|
@dannyy2000 is attempting to deploy a commit to the Jagadeesh B's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@dannyy2000, please resolve the conflicts. |
done, please review |
…-query-function Feat/event indexing query functions
…e-data-page-layout Fix/restructure data page layout
|
yeah? |
|
@dannyy2000 please fix the pipeline & resolve hte conflicts |
you are reviewing this the wrong way, thats why we have lots of conflicts, we shouldnt be having this large amounts of conflicts |
|
@dannyy2000, could you please create a new PR with the new branch? I can see that code changes have been made in both the backend and frontend folders. |
whats the name of the new branch you created. |
|
@dannyy2000, I asked you to create a new branch from the master and then submit a pull request. |
update_fee_configbug in program-escrow: use correct storage key(
DataKey::Program(program_id)instead of unusedPROGRAM_DATA)PartiallyReleasedcase in bounty-escrowget_statsfunctionPROGRAM_DATAconstantTest plan
Closes #156