Skip to content

Commit

Permalink
Add links for Polymesh encoded transactions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Neopallium committed Dec 13, 2024
1 parent 083c345 commit 46862b9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions rust/chains/tw_polkadot/tests/extrinsic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ fn staking_call(

#[test]
fn polymesh_encode_transfer_with_memo() {
// https://mainnet-app.polymesh.network/#/extrinsics/decode/0x0501004c6c63e3dc083959f876788716b78885460b5f3c7ed9379f8d5f408e08639e0204014d454d4f20504144444544205749544820535041434553000000000000000000

let input = Proto::SigningInput {
network: 12,
multi_address: true,
Expand All @@ -97,6 +99,8 @@ fn polymesh_encode_transfer_with_memo() {

#[test]
fn polymesh_encode_authorization_join_identity() {
// https://mainnet-app.polymesh.network/#/extrinsics/decode/0x070a0180436894d47a18e0bcfea6940bd90226f7104fbd037a259aeff6b47b8257c1320500000000

let input = Proto::SigningInput {
network: 12,
multi_address: true,
Expand All @@ -116,6 +120,8 @@ fn polymesh_encode_authorization_join_identity() {

#[test]
fn polymesh_encode_authorization_join_identity_with_zero_data() {
// https://mainnet-app.polymesh.network/#/extrinsics/decode/0x070a0180436894d47a18e0bcfea6940bd90226f7104fbd037a259aeff6b47b8257c1320501000100010000

let input = Proto::SigningInput {
network: 12,
multi_address: true,
Expand Down Expand Up @@ -146,6 +152,8 @@ fn polymesh_encode_authorization_join_identity_with_zero_data() {

#[test]
fn polymesh_encode_authorization_join_identity_allowing_everything() {
// https://mainnet-app.polymesh.network/#/extrinsics/decode/0x070a0180436894d47a18e0bcfea6940bd90226f7104fbd037a259aeff6b47b8257c1320500000000

let input = Proto::SigningInput {
network: 12,
multi_address: true,
Expand All @@ -170,6 +178,8 @@ fn polymesh_encode_authorization_join_identity_allowing_everything() {

#[test]
fn polymesh_encode_identity() {
// https://mainnet-app.polymesh.network/#/extrinsics/decode/0x07040b13000000000000

let input = Proto::SigningInput {
network: 12,
multi_address: true,
Expand Down

0 comments on commit 46862b9

Please sign in to comment.