flow-go
                                
                                 flow-go copied to clipboard
                                
                                    flow-go copied to clipboard
                            
                            
                            
                        [FVM] Implement scheduled callback blueprints and transaction scripts
Summary
Implement the core scheduled callback processing functionality including blueprint transactions and Cadence scripts for callback execution on Flow blockchain.
Changes
New Files
- fvm/blueprints/scheduled_callback.go- Core callback processing logic
- fvm/blueprints/scheduled_callback_test.go- Comprehensive test suite
- fvm/blueprints/scripts/processScheduledCallbacksTransaction.cdc- Cadence script for processing callbacks
- fvm/blueprints/scripts/executeScheduledCallbackTransaction.cdc- Cadence script for executing individual callbacks
Key Features
- ProcessCallbacksTransaction()- Creates transaction to identify ready callbacks
- ExecuteCallbacksTransactions()- Generates execution transactions from callback events
- Event-driven callback discovery and execution
- Proper error handling and validation
- Support for callback execution effort tracking
Dependencies
- PR https://github.com/onflow/flow-go/pull/7492
- Adding callback scheduler contract to core-contracts