Skip to content

Instantly share code, notes, and snippets.

@desamtralized
Created August 8, 2025 17:11
Show Gist options
  • Select an option

  • Save desamtralized/996dea05e7b3cf32c9947646b5924592 to your computer and use it in GitHub Desktop.

Select an option

Save desamtralized/996dea05e7b3cf32c9947646b5924592 to your computer and use it in GitHub Desktop.

Test Report - WASM Testing on Mantra Canary Network

Date: 2025-08-08
Network: mantra-canary-net-1
RPC: https://rpc.canary.mantrachain.dev

Contract Deployment

  • Code ID: 20
  • Contract Hash: f6247eb6218abb94542424c264abd0e1daa2b518f9f48a923a3d50bd3dac0009
  • File Size: 320 kB

Contract Instances

  1. mantra1d4sad30uj59lxg56ylwn7457v8z4k5m3323r9u360q85w8ga3kfsdaa9u5
  2. mantra14wzrxt6u557ecr98w2z22ygnu77w34uqfel72k8t8xatneajy2xq6060wx

Transaction Results

Successful Operations

Operation TX Hash Gas Used
ModifyState 81D7AC4330A1231948B20EAD0AE85E40DC294E1EEDB8E12FCE72EC2AE356B549 197,237
SendFunds (with funds) 1A276C1C71EBD919FB23379A1A1B641900CF7FD7C8D1E94C03C1086164938322 262,142
CallContract (with reply) D3B0D639D812C80198DF6243D1EB7C458BF93E49D15C44068FBB85ADB59F733B 395,115
CallContract (no reply) 34FC3D120EF3C4F15108143B873E530516BB6B61410F50352D54FEFAF8EC5E9B 392,155
DeleteEntryOnMap E2EB42D552C82A4A03DEEB6514013A1EDB237FDA2C0F7DFAA2C909FA8AFB2409 194,544
FillMap (100 entries) 577B1AFA9921B9E8B9DEB4B7B38D2AA31992CA07C18A51AFD337E9314FCB8F89 674,786
FillMap (1010 entries) 665868D188832314ED2A85584CD0680104968B1951F5C5144A2CD9C8180212D8 5,067,021
Contract Migration BF9DA2018B54483006D246E02C22AB965DBF5A5A233835BABB449E682802AE5F 221,414

Native Token Transfers

From To Amount TX Hash Gas Used
admin test 100uom 2FB4C31B484C37F3550E3D5E27E57B7735B79FB521E18AEB56BA13C5E5B0CA18 124,639
test admin 80uom D6DD16A1A858764333E69CD0410018C070C81B5666F078E44EB7754725DED1BD 124,499

Failed Operations (Expected)

Operation Error Gas Used
Instantiate (unauthorized) unauthorized 132,645
SendFunds (no funds) No funds sent 144,264
FillMap (1T entries) out of gas 300,000,000
Invalid message payload msg: invalid -
Migration (wrong wallet) unauthorized 72,343
GetEntryFromMap (key 1) not found -
GetEntryFromMap (key 250) not found -

Query Results

  • GetCount: 1 (first contract), 0 (second contract)
  • IterateOverMap: Successfully returned 500 map entries
  • GetCount (raw): Base64 encoded value: MQ==

Test Status: ✅ PASSED

All 23 test cases executed successfully with expected outcomes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment