Skip to content

Solana write simulate#504

Merged
yashnevatia merged 22 commits into
mainfrom
solana-simulate-main
Jul 3, 2026
Merged

Solana write simulate#504
yashnevatia merged 22 commits into
mainfrom
solana-simulate-main

Conversation

@yashnevatia

@yashnevatia yashnevatia commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Broadcast with key:

cre-cli git:(solana-simulate-main) ✗ ./cre workflow simulate ./test-solana-2 --target=local-simulation --broadcast 
✓ Workflow compiled
✓ Simulation limits enabled
  HTTP: req=120kb resp=250kb timeout=10s | ConfHTTP: req=125kb resp=500kb timeout=1m30s | Consensus obs=25kb | ChainWrite evm_report=50kb evm_gas=10000000 solana_report=265b solana_cu=300000 | WASM binary=100mb compressed=20mb
  Binary hash: 155a5781c2482d320cad1997e2e3bf3a2949280400daf64b0f9796e88e11be73
  Config hash: e6955700be8b078f80f30b16435d07925ea2d57953c57b05da0a972090d44df3
2026-07-02T13:34:41Z [SIMULATION] Simulator Initialized

2026-07-02T13:34:41Z [SIMULATION] Running trigger trigger=cron-trigger@1.0.0

┃ Cron scheduler started. Press Enter to skip waiting...                                                                                                                              
┃ Next                                                                                                                                                                                

2026-07-02T13:34:42Z [USER LOG] solana balance read: address=Av3xZHYnFoW7wW4FEApAtHf8JeYauwaNm5cVLqk6MLfk lamports=4118742783
2026-07-02T13:34:43Z [USER LOG] solana canary write: signature=0xb4dd75fa5b493be5b9c286f632f72b1ab47f94194d3d4525be24186292aa5f5fa28553f9f8691e8919c4f9b805a0f0cf9708af17620525a4ba24eb4c31331b00 status=2

✓ Workflow Simulation Result:
"Success"

2026-07-02T13:34:43Z [SIMULATION] Execution finished signal received
2026-07-02T13:34:43Z [SIMULATION] Skipping WorkflowEngineV2
2026-07-02T13:34:43Z [SIMULATION] Failed to cleanup beholder error=BeholderClient has not been started: cannot stop unstarted service

No broadcast with key:

➜  cre-cli git:(solana-simulate-main) ✗ ./cre workflow simulate ./test-solana-2 --target=local-simulation            
✓ Workflow compiled
✓ Simulation limits enabled
  HTTP: req=120kb resp=250kb timeout=10s | ConfHTTP: req=125kb resp=500kb timeout=1m30s | Consensus obs=25kb | ChainWrite evm_report=50kb evm_gas=10000000 solana_report=265b solana_cu=300000 | WASM binary=100mb compressed=20mb
  Binary hash: 155a5781c2482d320cad1997e2e3bf3a2949280400daf64b0f9796e88e11be73
  Config hash: e6955700be8b078f80f30b16435d07925ea2d57953c57b05da0a972090d44df3
2026-07-02T13:34:54Z [SIMULATION] Simulator Initialized

2026-07-02T13:34:54Z [SIMULATION] Running trigger trigger=cron-trigger@1.0.0

┃ Cron scheduler started. Press Enter to skip waiting...                                                                                                                              
┃ Next                                                                                                                                                                                

2026-07-02T13:34:55Z [USER LOG] solana balance read: address=Av3xZHYnFoW7wW4FEApAtHf8JeYauwaNm5cVLqk6MLfk lamports=4118737783

✓ Workflow Simulation Result:
"Success"

2026-07-02T13:34:56Z [SIMULATION] Execution finished signal received
2026-07-02T13:34:56Z [SIMULATION] Skipping WorkflowEngineV2
2026-07-02T13:34:56Z [SIMULATION] Failed to cleanup beholder error=BeholderClient has not been started: cannot stop unstarted service

No key:

➜  cre-cli git:(solana-simulate-main) ✗ ./cre workflow simulate ./test-solana-2 --target=local-simulation 
✗ CRE_SOLANA_PRIVATE_KEY is required for Solana workflow simulation.                                                     
                                                                                                                         
The Solana test network requires the transmitter account (derived from your private key) to exist and be funded on-chain.
Please set your private key in your .env file or system environment:                                                     
                                                                                                                         
  CRE_SOLANA_PRIVATE_KEY=<your-64-byte-base58-keypair>                                                                   
                                                                                                                         
You can generate a test key using: solana-keygen new                                                                     
Then fund it on devnet: solana airdrop 10 <your-address> --url devnet                                                    
➜  cre-cli git:(solana-simulate-main) ✗ 

@yashnevatia yashnevatia requested a review from a team as a code owner June 23, 2026 13:51
@yashnevatia yashnevatia marked this pull request as draft June 23, 2026 13:51
@github-actions

Copy link
Copy Markdown

👋 yashnevatia, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@yashnevatia yashnevatia changed the base branch from main to chain-signing-keys June 23, 2026 13:52
Base automatically changed from chain-signing-keys to main June 25, 2026 18:21
@yashnevatia yashnevatia marked this pull request as ready for review July 2, 2026 12:41
@yashnevatia yashnevatia changed the title Solana simulate Solana write simulate Jul 2, 2026
func TestLimitedEVMChainWriteReportRejectsOversizedGasLimit(t *testing.T) {
t.Parallel()

limits := chain.Limits{ReportSize: 4, GasLimit: 10}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the reason for this change?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the test does not require it. its a semantic change.

@yashnevatia yashnevatia added this pull request to the merge queue Jul 3, 2026
Merged via the queue into main with commit 89a273c Jul 3, 2026
22 checks passed
@yashnevatia yashnevatia deleted the solana-simulate-main branch July 3, 2026 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants