Skip to content

Commit 116aaa2

Browse files
committed
Merge branch 'devnet-ready' into fix-hotkey-swap-root-claimable
2 parents c01268b + d6e7292 commit 116aaa2

74 files changed

Lines changed: 5685 additions & 2715 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/typescript-e2e.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ jobs:
105105
binary: fast
106106
- test: zombienet_coldkey_swap
107107
binary: fast
108+
- test: zombienet_subnets
109+
binary: fast
108110

109111
name: "typescript-e2e-${{ matrix.test }}"
110112

Cargo.lock

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contract-tests/src/contracts/staking.ts

Lines changed: 137 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,5 +454,141 @@ export const IStakingV2ABI = [
454454
"outputs": [],
455455
"stateMutability": "payable",
456456
"type": "function"
457+
},
458+
{
459+
"inputs": [
460+
{
461+
"internalType": "address",
462+
"name": "spenderAddress",
463+
"type": "address"
464+
},
465+
{
466+
"internalType": "uint256",
467+
"name": "netuid",
468+
"type": "uint256"
469+
},
470+
{
471+
"internalType": "uint256",
472+
"name": "absoluteAmount",
473+
"type": "uint256"
474+
}
475+
],
476+
"name": "approve",
477+
"outputs": [],
478+
"stateMutability": "",
479+
"type": "function"
480+
},
481+
{
482+
"inputs": [
483+
{
484+
"internalType": "address",
485+
"name": "sourceAddress",
486+
"type": "address"
487+
},
488+
{
489+
"internalType": "address",
490+
"name": "spenderAddress",
491+
"type": "address"
492+
},
493+
{
494+
"internalType": "uint256",
495+
"name": "netuid",
496+
"type": "uint256"
497+
}
498+
],
499+
"name": "allowance",
500+
"outputs": [
501+
{
502+
"internalType": "uint256",
503+
"name": "",
504+
"type": "uint256"
505+
}
506+
],
507+
"stateMutability": "view",
508+
"type": "function"
509+
},
510+
{
511+
"inputs": [
512+
{
513+
"internalType": "address",
514+
"name": "spenderAddress",
515+
"type": "address"
516+
},
517+
{
518+
"internalType": "uint256",
519+
"name": "netuid",
520+
"type": "uint256"
521+
},
522+
{
523+
"internalType": "uint256",
524+
"name": "increaseAmount",
525+
"type": "uint256"
526+
}
527+
],
528+
"name": "increaseAllowance",
529+
"outputs": [],
530+
"stateMutability": "",
531+
"type": "function"
532+
},
533+
{
534+
"inputs": [
535+
{
536+
"internalType": "address",
537+
"name": "spenderAddress",
538+
"type": "address"
539+
},
540+
{
541+
"internalType": "uint256",
542+
"name": "netuid",
543+
"type": "uint256"
544+
},
545+
{
546+
"internalType": "uint256",
547+
"name": "decreaseAmount",
548+
"type": "uint256"
549+
}
550+
],
551+
"name": "decreaseAllowance",
552+
"outputs": [],
553+
"stateMutability": "",
554+
"type": "function"
555+
},
556+
{
557+
"inputs": [
558+
{
559+
"internalType": "address",
560+
"name": "sourceAddress",
561+
"type": "address"
562+
},
563+
{
564+
"internalType": "address",
565+
"name": "destinationAddress",
566+
"type": "address"
567+
},
568+
{
569+
"internalType": "bytes32",
570+
"name": "hotkey",
571+
"type": "bytes32"
572+
},
573+
{
574+
"internalType": "uint256",
575+
"name": "originNetuid",
576+
"type": "uint256"
577+
},
578+
{
579+
"internalType": "uint256",
580+
"name": "destinationNetuid",
581+
"type": "uint256"
582+
},
583+
{
584+
"internalType": "uint256",
585+
"name": "amount",
586+
"type": "uint256"
587+
}
588+
],
589+
"name": "transferStakeFrom",
590+
"outputs": [],
591+
"stateMutability": "",
592+
"type": "function"
457593
}
458-
];
594+
];

contract-tests/test/addressMapping.precompile.test.ts

Lines changed: 0 additions & 87 deletions
This file was deleted.

0 commit comments

Comments
 (0)