Replies: 2 comments 9 replies
-
update from slack conversation: [kimmy lin] [Dmitry Shulyak]
[kimmy lin] [Dmitry Shulyak]
i don't think so. they may be even on different layers [kimmy lin] [Dmitry Shulyak] [kimmy lin] [Noam Nelke] [Dmitry Shulyak] [Noam Nelke] [kimmy lin] [Noam Nelke] [kimmy lin] [Noam Nelke] [Dmitry Shulyak] [Noam Nelke] [Dmitry Shulyak] [Noam Nelke] [Dmitry Shulyak] [Noam Nelke] [Noam Nelke] |
Beta Was this translation helpful? Give feedback.
-
problem
so when conservative cache receives synced transaction there is a high chance that account from that transaction is not yet spawned, and the transaction won't be parsed. and sync won't work in general.
possible solutions
initialize template from self-spawn stored in conservative cache
not sure if it will be possible to find spawned accounts without executing transaction.
very likely it won't be possible if spawn will be a part of the unrelated method defined in wasm.
can be used as a short term solution, but probably not future proof.
store full header in the transaction (e.g. remove parse_payload)
doesn't enable Verify method, so still not possible to verify syntactic validity.
doing this solves the problem only partially, not worse it.
applying blocks during sync should not go through conservative cache
conservative cache needs parsed header to accept transaction into the cache.
how does it change flow for blocks that were built in the conservative cache?
looks like a big change in conservative cache. would prefer to avoid
Beta Was this translation helpful? Give feedback.
All reactions