feat(starknet_gateway): get executable tx from class manager#3498
Conversation
faed35e to
73c53e9
Compare
cb67b17 to
26ec928
Compare
ShahakShama
left a comment
There was a problem hiding this comment.
Reviewed 5 of 5 files at r1, all commit messages.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @noamsp-starkware)
crates/starknet_gateway/src/utils.rs line 19 at r1 (raw file):
/// executable contract class. #[allow(dead_code)] pub fn compile_contract_and_build_executable_tx(
Delete this function
crates/starknet_gateway/src/gateway.rs line 103 at r1 (raw file):
stateful_tx_validator: Arc<StatefulTransactionValidator>, state_reader_factory: Arc<dyn StateReaderFactory>, // TODO(noamsp): remove gatewayCompiler
Change to "remove GatewayCompiler from here and erase it.
crates/starknet_gateway/src/gateway.rs line 132 at r1 (raw file):
self.stateless_tx_validator.validate(&self.tx)?; // TODO(noamsp): Add error handling.
Do this now. I think you should do what they did in compile_contract_and_build_executable_tx:
6eb4a91 to
eba52cb
Compare
26ec928 to
b4dbd5f
Compare
noamsp-starkware
left a comment
There was a problem hiding this comment.
Reviewable status: 2 of 5 files reviewed, 3 unresolved discussions (waiting on @ShahakShama)
crates/starknet_gateway/src/gateway.rs line 103 at r1 (raw file):
Previously, ShahakShama wrote…
Change to "remove GatewayCompiler from here and erase it.
Done.
crates/starknet_gateway/src/gateway.rs line 132 at r1 (raw file):
Previously, ShahakShama wrote…
Do this now. I think you should do what they did in compile_contract_and_build_executable_tx:
Done.
crates/starknet_gateway/src/utils.rs line 19 at r1 (raw file):
Previously, ShahakShama wrote…
Delete this function
Its deleted in the following PR.
ShahakShama
left a comment
There was a problem hiding this comment.
Reviewed 3 of 3 files at r2, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @noamsp-starkware)
ShahakShama
left a comment
There was a problem hiding this comment.
Reviewable status:
complete! all files reviewed, all discussions resolved (waiting on @noamsp-starkware)
eba52cb to
6ba0987
Compare
b4dbd5f to
d111096
Compare
6ba0987 to
dc752fd
Compare
d111096 to
8796161
Compare
b2e5a83
into
noam.s/feat_starknet_gateway_add_class_manager_client

No description provided.