Skip to content

Commit decbf95

Browse files
committed
Test call filtering for asset proxy types
1 parent b79dfc9 commit decbf95

File tree

4 files changed

+773
-7
lines changed

4 files changed

+773
-7
lines changed

packages/kusama/src/__snapshots__/assetHubKusama.proxy.e2e.test.ts.snap

Lines changed: 286 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,292 @@ exports[`Kusama AssetHub Proxy > proxy call filtering test for Any > events for
543543
]
544544
`;
545545

546+
exports[`Kusama AssetHub Proxy > proxy call filtering test for AssetManager > events for proxy action: proxy type AssetManager, pallet multisig, call asMulti 1`] = `
547+
[
548+
{
549+
"data": {
550+
"result": {
551+
"Err": {
552+
"Module": {
553+
"error": "0x00000000",
554+
"index": 41,
555+
},
556+
},
557+
},
558+
},
559+
"method": "ProxyExecuted",
560+
"section": "proxy",
561+
},
562+
]
563+
`;
564+
565+
exports[`Kusama AssetHub Proxy > proxy call filtering test for AssetManager > events for proxy action: proxy type AssetManager, pallet nfts, call set_metadata 1`] = `
566+
[
567+
{
568+
"data": {
569+
"result": {
570+
"Err": {
571+
"Module": {
572+
"error": "0x00000000",
573+
"index": 52,
574+
},
575+
},
576+
},
577+
},
578+
"method": "ProxyExecuted",
579+
"section": "proxy",
580+
},
581+
]
582+
`;
583+
584+
exports[`Kusama AssetHub Proxy > proxy call filtering test for AssetManager > events for proxy action: proxy type AssetManager, pallet uniques, call mint 1`] = `
585+
[
586+
{
587+
"data": {
588+
"result": {
589+
"Err": {
590+
"Module": {
591+
"error": "0x02000000",
592+
"index": 51,
593+
},
594+
},
595+
},
596+
},
597+
"method": "ProxyExecuted",
598+
"section": "proxy",
599+
},
600+
]
601+
`;
602+
603+
exports[`Kusama AssetHub Proxy > proxy call filtering test for AssetManager > events for proxy action: proxy type AssetManager, pallet utility, call batch 1`] = `
604+
[
605+
{
606+
"data": {},
607+
"method": "BatchCompleted",
608+
"section": "utility",
609+
},
610+
{
611+
"data": {
612+
"result": "Ok",
613+
},
614+
"method": "ProxyExecuted",
615+
"section": "proxy",
616+
},
617+
]
618+
`;
619+
620+
exports[`Kusama AssetHub Proxy > proxy call filtering test for AssetManager > events for proxy action: proxy type AssetManager, pallet utility, call batchAll 1`] = `
621+
[
622+
{
623+
"data": {},
624+
"method": "BatchCompleted",
625+
"section": "utility",
626+
},
627+
{
628+
"data": {
629+
"result": "Ok",
630+
},
631+
"method": "ProxyExecuted",
632+
"section": "proxy",
633+
},
634+
]
635+
`;
636+
637+
exports[`Kusama AssetHub Proxy > proxy call filtering test for AssetManager > events for proxy action: proxy type AssetManager, pallet utility, call forceBatch 1`] = `
638+
[
639+
{
640+
"data": {},
641+
"method": "BatchCompleted",
642+
"section": "utility",
643+
},
644+
{
645+
"data": {
646+
"result": "Ok",
647+
},
648+
"method": "ProxyExecuted",
649+
"section": "proxy",
650+
},
651+
]
652+
`;
653+
654+
exports[`Kusama AssetHub Proxy > proxy call filtering test for AssetOwner > events for proxy action: proxy type AssetOwner, pallet multisig, call asMulti 1`] = `
655+
[
656+
{
657+
"data": {
658+
"result": {
659+
"Err": {
660+
"Module": {
661+
"error": "0x00000000",
662+
"index": 41,
663+
},
664+
},
665+
},
666+
},
667+
"method": "ProxyExecuted",
668+
"section": "proxy",
669+
},
670+
]
671+
`;
672+
673+
exports[`Kusama AssetHub Proxy > proxy call filtering test for AssetOwner > events for proxy action: proxy type AssetOwner, pallet nfts, call destroy 1`] = `
674+
[
675+
{
676+
"data": {
677+
"result": {
678+
"Err": {
679+
"Module": {
680+
"error": "0x00000000",
681+
"index": 52,
682+
},
683+
},
684+
},
685+
},
686+
"method": "ProxyExecuted",
687+
"section": "proxy",
688+
},
689+
]
690+
`;
691+
692+
exports[`Kusama AssetHub Proxy > proxy call filtering test for AssetOwner > events for proxy action: proxy type AssetOwner, pallet uniques, call create 1`] = `
693+
[
694+
{
695+
"data": {
696+
"result": {
697+
"Err": {
698+
"Module": {
699+
"error": "0x05000000",
700+
"index": 51,
701+
},
702+
},
703+
},
704+
},
705+
"method": "ProxyExecuted",
706+
"section": "proxy",
707+
},
708+
]
709+
`;
710+
711+
exports[`Kusama AssetHub Proxy > proxy call filtering test for AssetOwner > events for proxy action: proxy type AssetOwner, pallet utility, call batch 1`] = `
712+
[
713+
{
714+
"data": {},
715+
"method": "BatchCompleted",
716+
"section": "utility",
717+
},
718+
{
719+
"data": {
720+
"result": "Ok",
721+
},
722+
"method": "ProxyExecuted",
723+
"section": "proxy",
724+
},
725+
]
726+
`;
727+
728+
exports[`Kusama AssetHub Proxy > proxy call filtering test for AssetOwner > events for proxy action: proxy type AssetOwner, pallet utility, call batchAll 1`] = `
729+
[
730+
{
731+
"data": {},
732+
"method": "BatchCompleted",
733+
"section": "utility",
734+
},
735+
{
736+
"data": {
737+
"result": "Ok",
738+
},
739+
"method": "ProxyExecuted",
740+
"section": "proxy",
741+
},
742+
]
743+
`;
744+
745+
exports[`Kusama AssetHub Proxy > proxy call filtering test for AssetOwner > events for proxy action: proxy type AssetOwner, pallet utility, call forceBatch 1`] = `
746+
[
747+
{
748+
"data": {},
749+
"method": "BatchCompleted",
750+
"section": "utility",
751+
},
752+
{
753+
"data": {
754+
"result": "Ok",
755+
},
756+
"method": "ProxyExecuted",
757+
"section": "proxy",
758+
},
759+
]
760+
`;
761+
762+
exports[`Kusama AssetHub Proxy > proxy call filtering test for Assets > events for proxy action: proxy type Assets, pallet multisig, call asMulti 1`] = `
763+
[
764+
{
765+
"data": {
766+
"result": {
767+
"Err": {
768+
"Module": {
769+
"error": "0x00000000",
770+
"index": 41,
771+
},
772+
},
773+
},
774+
},
775+
"method": "ProxyExecuted",
776+
"section": "proxy",
777+
},
778+
]
779+
`;
780+
781+
exports[`Kusama AssetHub Proxy > proxy call filtering test for Assets > events for proxy action: proxy type Assets, pallet utility, call batch 1`] = `
782+
[
783+
{
784+
"data": {},
785+
"method": "BatchCompleted",
786+
"section": "utility",
787+
},
788+
{
789+
"data": {
790+
"result": "Ok",
791+
},
792+
"method": "ProxyExecuted",
793+
"section": "proxy",
794+
},
795+
]
796+
`;
797+
798+
exports[`Kusama AssetHub Proxy > proxy call filtering test for Assets > events for proxy action: proxy type Assets, pallet utility, call batchAll 1`] = `
799+
[
800+
{
801+
"data": {},
802+
"method": "BatchCompleted",
803+
"section": "utility",
804+
},
805+
{
806+
"data": {
807+
"result": "Ok",
808+
},
809+
"method": "ProxyExecuted",
810+
"section": "proxy",
811+
},
812+
]
813+
`;
814+
815+
exports[`Kusama AssetHub Proxy > proxy call filtering test for Assets > events for proxy action: proxy type Assets, pallet utility, call forceBatch 1`] = `
816+
[
817+
{
818+
"data": {},
819+
"method": "BatchCompleted",
820+
"section": "utility",
821+
},
822+
{
823+
"data": {
824+
"result": "Ok",
825+
},
826+
"method": "ProxyExecuted",
827+
"section": "proxy",
828+
},
829+
]
830+
`;
831+
546832
exports[`Kusama AssetHub Proxy > proxy call filtering test for CancelProxy > events for proxy action: proxy type CancelProxy, pallet proxy, call rejectAnnouncement 1`] = `
547833
[
548834
{

0 commit comments

Comments
 (0)