This repository was archived by the owner on Jul 22, 2024. It is now read-only.
Commit 4ba3de3
* Add test case
* Fix get_onchain_data_segment_length
* Debug setup
* Fix get_onchain_data_segment_length
* Add StorageChangesCount struct
* Update test values
* Update test values
* fmt
* Use StorageChangesCount struct in state method
* Fix implicated code
* Update doc
* Update test values
* Rename method for consistency
* Add note comment
* Remove hardcoded contract address
* Remove txt files
* Remove dbg prints
* Remove dbg prints
* Format
* Restore blockifier version
* Restore tests
* Restore newlines
* Restore newlines
* Remove txt file
* fmt
* Add test case with declare
* Deserialize Declare transactions
* Create blockifier Declare transaction
* Fix/Refactor `State::count actual storage changes` (#1086)
* Add StorageChangesCount struct
* Use StorageChangesCount struct in state method
* Fix implicated code
* Update doc
* Update test values
* Rename method for consistency
* Add the ability to execute `DeployAccount` transactions using the `RpcState` (#1089)
* Add test case
* Fix get_onchain_data_segment_length
* Debug setup
* Add StorageChangesCount struct
* Use StorageChangesCount struct in state method
* Fix implicated code
* Update doc
* Update test values
* Rename method for consistency
* Add note comment
* Remove hardcoded contract address
* Remove txt files
* Remove dbg prints
* Remove dbg prints
* Format
* Restore blockifier version
* Restore tests
* Restore newlines
* Restore newlines
* Remove txt file
* fmt
* Fix bug in `From<StarknetRsContractClass> for CompiledClass` implementation (#1090)
* Fix bug in CompiledClass
* Add tests
* fetch class hash from the next block in declare tx
* Return an error if a class_hash is not declared + add tests for declare tx
* Fix error msg
* Add support for DeclareV0-1 in sir_tests
* Make Sierra class optional in declare v2 + other changes
* Add support for DeclareV2
* Uncomment test
* fix
* Use new_with_sierra_class_hash_and_tx_hash
* use CompiledClassHash instead of CompiledClass where applicatble
* Handle nonce in declare v2 + run fmt
* Set casm class before counting state changes in declare v2
* Changes
* Make sierra class hash non-optional
* fix + clippy
* Use state_reader instead of creating a state to fetch the next block s contract classes
* Add removed test
* Update test values
* Make validate_invocation and fee_transfer_info fields optional + add L1_HANDLER transaction RpcState
* Add L1Handler to blockifier_tests::execute_tx
* Add blockifier test case
* Add L1Handler to sir_tests::execute_tx
* Add one more test case
* fmt
---------
Co-authored-by: Juan Bono <juanbono94@gmail.com>
1 parent 152a3e4 commit 4ba3de3
File tree
6 files changed
+107
-17
lines changed- rpc_state_reader
- src
- tests
- src/transaction
6 files changed
+107
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
161 | 164 | | |
162 | | - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
163 | 170 | | |
164 | 171 | | |
165 | 172 | | |
| |||
170 | 177 | | |
171 | 178 | | |
172 | 179 | | |
173 | | - | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
174 | 189 | | |
175 | 190 | | |
176 | 191 | | |
| |||
243 | 258 | | |
244 | 259 | | |
245 | 260 | | |
246 | | - | |
| 261 | + | |
247 | 262 | | |
248 | 263 | | |
249 | 264 | | |
250 | 265 | | |
251 | 266 | | |
252 | 267 | | |
253 | 268 | | |
254 | | - | |
| 269 | + | |
255 | 270 | | |
256 | 271 | | |
257 | 272 | | |
258 | | - | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
259 | 278 | | |
260 | 279 | | |
261 | 280 | | |
| |||
265 | 284 | | |
266 | 285 | | |
267 | 286 | | |
268 | | - | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
269 | 296 | | |
270 | 297 | | |
271 | 298 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| |||
207 | 210 | | |
208 | 211 | | |
209 | 212 | | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
210 | 228 | | |
211 | 229 | | |
212 | 230 | | |
| |||
327 | 345 | | |
328 | 346 | | |
329 | 347 | | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
330 | 358 | | |
331 | 359 | | |
332 | 360 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
211 | 218 | | |
212 | 219 | | |
213 | 220 | | |
| |||
352 | 359 | | |
353 | 360 | | |
354 | 361 | | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
355 | 372 | | |
356 | 373 | | |
357 | 374 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
| 203 | + | |
208 | 204 | | |
209 | 205 | | |
210 | 206 | | |
| |||
213 | 209 | | |
214 | 210 | | |
215 | 211 | | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
216 | 233 | | |
217 | 234 | | |
218 | 235 | | |
| |||
0 commit comments