Skip to content

Commit

Permalink
feat: review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ashutoshvarma committed Dec 18, 2023
1 parent 576b866 commit 248b08a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions precompiles/xvm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ where

let from = R::AddressMapping::into_account_id(handle.context().caller);

log::trace!(
target: "xvm-precompile::xvm_call",
"vm_id: {:?}, from: {:?}, call_to: {:?}, call_input: {:?}, value: {:?}, limit: {:?}", vm_id, from, call_to, call_input, value, limit
);
let call_result = XC::call(xvm_context, vm_id, from, call_to, call_input, value, limit);

let used_weight = match &call_result {
Expand Down
2 changes: 1 addition & 1 deletion runtime/shiden/src/precompiles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// You should have received a copy of the GNU General Public License
// along with Astar. If not, see <http://www.gnu.org/licenses/>.

//! The Astar Network EVM precompiles. This can be compiled with ``#[no_std]`, ready for Wasm.
//! The Shiden Network EVM precompiles. This can be compiled with ``#[no_std]`, ready for Wasm.
use crate::RuntimeCall;
use astar_primitives::precompiles::DispatchFilterValidate;
Expand Down

0 comments on commit 248b08a

Please sign in to comment.