The call
method in executor should handle system contracts as exec
method does.
#1592
Labels
enhancement
New feature or request
Description
Current status
The
exec
method in executor do special operations for system contracts.axon/core/executor/src/lib.rs
Lines 152 to 153 in 264a676
But
call
method doesn't.axon/core/executor/src/lib.rs
Line 65 in 264a676
Issues introduced by the above Design
When
call
system contracts —— for example, calleth_estimateGas
—— it may lead to unexpected results.Also, unexpected results may be occurred when replay system contracts (ref: #1234 tried).
Proposals
Do same operations for both
exec
andcall
.Or, just reject system contracts directly in the
call
method.The text was updated successfully, but these errors were encountered: