Commit e6e5d87
committed
Major refactor, listing important pieces:
- Conversation has now a generic type constraint on ConversationState, so some common state can be shared (this breaks the fact that converation should be agnostic, but make the overall work within codegen easier by sharing lot's of logic)
- Added a BaseConversationState that everyone can embedded to gain much of the standard state management needed for a new codegen
- Added Pre & Post shared flow that can be used by the various codegen
- Improved sink choice flow to report instructions within the standard finish instructions
- Improved Docker compose file render, now added to project standard files
- UserLocalFile can now report the error that happened on the client, if any
- Fixed a bunch of Rust warnings in generated code
- Fixed NEAR hello world to actually work
- Fixed Starknet Events to compile properly
- Move integration to use testcontainers for easier Docker management1 parent de0600d commit e6e5d87
174 files changed
Lines changed: 2179 additions & 10220 deletions
File tree
- .github/workflows
- chains
- evm-events-calls-raw
- templates/src
- evm-events-calls
- templates/src
- testoutput
- bayc_triggers
- dev-environment
- substreams
- abi
- proto
- src
- abi
- pb
- complex_abi
- abi
- proto
- src
- abi
- pb
- uniswap_factory_events_dynamic_calls
- dev-environment
- substreams
- abi
- proto
- src
- abi
- pb
- uniswap_factory_v3
- dev-environment
- substreams
- abi
- proto
- src
- abi
- pb
- evm-hello-world
- templates/src
- injective-events
- templates/src
- injective-hello-world
- templates/src
- pb
- loop
- mantra-events
- templates/src
- mantra-hello-world
- templates/src
- near-hello-world
- templates
- proto
- src
- pb/sf/codegen
- conversation/v1
- remotebuild/v1
- proto
- sf/codegen/conversation/v1
- server
- sol-anchor
- templates/src
- sol-hello-world
- templates/src
- sol-transactions
- templates/src
- starknet-events
- templates
- src
- abi
- starknet-hello-world
- templates/src
- stellar-minimal
- templates/src
- stellar-transactions-operations
- templates/src
- tests
- evm-events-calls
- evm-hello-world
- injective-events
- injective-hello-world
- near-hello-world
- sol-anchor
- sol-hello-world
- sol-transactions
- starknet-events
- starknet-hello-world
- text
- tron-hello-world
- templates/src
- tron-transactions
- templates/src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | 57 | | |
61 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
19 | 31 | | |
20 | 32 | | |
21 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | | - | |
| 10 | + | |
12 | 11 | | |
13 | 12 | | |
14 | | - | |
| 13 | + | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
18 | 24 | | |
19 | 25 | | |
20 | | - | |
21 | | - | |
| 26 | + | |
| 27 | + | |
22 | 28 | | |
23 | 29 | | |
24 | 30 | | |
25 | | - | |
| 31 | + | |
26 | 32 | | |
27 | 33 | | |
28 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
29 | 45 | | |
30 | | - | |
| 46 | + | |
31 | 47 | | |
32 | 48 | | |
33 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
34 | 58 | | |
35 | 59 | | |
36 | 60 | | |
37 | 61 | | |
38 | 62 | | |
39 | | - | |
| 63 | + | |
40 | 64 | | |
41 | 65 | | |
42 | 66 | | |
| |||
46 | 70 | | |
47 | 71 | | |
48 | 72 | | |
49 | | - | |
| 73 | + | |
50 | 74 | | |
51 | 75 | | |
52 | 76 | | |
53 | 77 | | |
54 | 78 | | |
55 | 79 | | |
56 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
57 | 85 | | |
58 | 86 | | |
59 | | - | |
| 87 | + | |
60 | 88 | | |
61 | 89 | | |
62 | 90 | | |
| |||
65 | 93 | | |
66 | 94 | | |
67 | 95 | | |
68 | | - | |
| 96 | + | |
69 | 97 | | |
70 | 98 | | |
71 | 99 | | |
| |||
74 | 102 | | |
75 | 103 | | |
76 | 104 | | |
77 | | - | |
| 105 | + | |
78 | 106 | | |
79 | 107 | | |
80 | 108 | | |
81 | 109 | | |
82 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
0 commit comments