Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(release): merge iliad client changes to odyssey #199

Merged
merged 46 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
5727f3b
feat(x/evmstaking): max unbond withdrawal
jdubpark Sep 29, 2024
45a5ae3
chore(x/evmstaking): bump log level
jdubpark Sep 29, 2024
a22c05f
feat(x/evmstaking): spendable coin max amount with tests
jdubpark Sep 29, 2024
c7bc4de
feat(x/evmstaking): pass zero amount
jdubpark Sep 29, 2024
5c8b626
chore(x/evmstaking): move logs
jdubpark Sep 29, 2024
f4588cf
chore(release): finalize client 0.10.1 stable release
leeren Sep 29, 2024
27c3dca
chore(release): begin story v0.10.2 unstable release
leeren Sep 29, 2024
006973a
feat(cmd): one block rollback (#157)
zsystm Oct 1, 2024
4423065
chore(release): finalize client 0.10.2 stable release
leeren Oct 3, 2024
7d194e5
chore(release): begin client 0.11.0 unstable release
leeren Oct 3, 2024
31f92b2
fix(x/evmstaking): endblock unbond branch check (#163)
jdubpark Oct 2, 2024
3f23aef
feat(cli): add unjail validator subcommand (#170)
leeren Oct 4, 2024
48b5772
chore(release): finalize client 0.11.0 stable release
leeren Oct 4, 2024
e9c1d5f
chore(release): begin story client v0.12.0 unstable release
leeren Oct 15, 2024
222e6ad
feat(epochs): port epochs module from cosmos-sdk (#101)
0xHansLee Sep 14, 2024
234df67
chore: modify path for mockgen (#121)
0xHansLee Sep 18, 2024
1932406
chore(evmstaking): remove unnecessary codes (#125)
0xHansLee Sep 18, 2024
31eb805
add test cases for evmstaking/types/params
zsystm Sep 11, 2024
48b7764
add test cases for evmstaking/keeper/unjail
zsystm Sep 11, 2024
092d1df
add test cases for genesis
zsystm Sep 11, 2024
b12c999
fix syntax after rebase
zsystm Sep 19, 2024
c9cd8df
add test cases for genesis (#112)
zsystm Sep 20, 2024
e2d5560
fix(evmstaking): query withdrawal queue (#113)
zsystm Sep 20, 2024
79e50ba
test(evmengine): add test cases for db (#120)
zsystm Sep 23, 2024
5f780fd
test(evmengine): add test cases for helper (#131)
zsystm Sep 23, 2024
1030a21
add test cases for keeper (#132)
zsystm Sep 24, 2024
9e20a78
test(evmengine): add test cases for genesis (#134)
zsystm Sep 24, 2024
c2a1480
add test cases for genesis (#135)
zsystm Sep 24, 2024
4c73352
test(evmengine): add test cases for params (#136)
zsystm Sep 24, 2024
1b08594
add test cases for params (#137)
zsystm Sep 24, 2024
ea78a32
feat(script): auto add binary version to s3 file (#142)
jhd2best Sep 24, 2024
34095f0
fix(evmengine): nil panic with optimistic build enabled (#128)
zsystm Oct 1, 2024
50c016d
test(evmengine/keeper): add test cases for msg server (#100)
zsystm Oct 1, 2024
c3d03dc
test(evmengine): add test cases for abci (#143)
zsystm Oct 1, 2024
112af75
feat(genesis): disable vote extension by default (#173)
0xHansLee Oct 7, 2024
5be81ee
refactor(panic): remove unused or unnecessary panic code (#171)
edisonz0718 Oct 8, 2024
b4d9418
feat(mint): customized mint module (#169)
ezreal1997 Oct 8, 2024
3274f30
feat(netconf): fix genesis config of mint module in local netconf (#175)
ezreal1997 Oct 9, 2024
8657823
feat(contracts): transparent proxies and el genesis (#165)
Ramarti Oct 9, 2024
93c29f8
build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1 (#19)
dependabot[bot] Oct 9, 2024
6cdfd9c
feat(api): add epochs api (#176)
ezreal1997 Oct 9, 2024
fdcffa7
feat(mint): update mint param type (#182)
ezreal1997 Oct 9, 2024
77172d8
feat(cli): add key conversion subcommand (#174)
leeren Oct 14, 2024
746a040
fix(CI/CD): fix solhint (#190)
sebsadface Oct 15, 2024
b92df18
Merge branch 'main' into chore/merge-iliad-changes
leeren Oct 15, 2024
b30e3b2
chore(cmd): fix validator flag linting issue
leeren Oct 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
369 changes: 369 additions & 0 deletions client/cmd/abi/IPTokenSlashing.abi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,369 @@
[
{
"type": "constructor",
"inputs": [
{
"name": "ipTokenStaking",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "IP_TOKEN_STAKING",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract IPTokenStaking"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "UPGRADE_INTERFACE_VERSION",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "acceptOwnership",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "initialize",
"inputs": [
{
"name": "accessManager",
"type": "address",
"internalType": "address"
},
{
"name": "newUnjailFee",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "owner",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "pendingOwner",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "proxiableUUID",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "renounceOwnership",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "setUnjailFee",
"inputs": [
{
"name": "newUnjailFee",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "transferOwnership",
"inputs": [
{
"name": "newOwner",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "unjail",
"inputs": [
{
"name": "validatorUncmpPubkey",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"type": "function",
"name": "unjailFee",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "unjailOnBehalf",
"inputs": [
{
"name": "validatorCmpPubkey",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"type": "function",
"name": "upgradeToAndCall",
"inputs": [
{
"name": "newImplementation",
"type": "address",
"internalType": "address"
},
{
"name": "data",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"type": "event",
"name": "Initialized",
"inputs": [
{
"name": "version",
"type": "uint64",
"indexed": false,
"internalType": "uint64"
}
],
"anonymous": false
},
{
"type": "event",
"name": "OwnershipTransferStarted",
"inputs": [
{
"name": "previousOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newOwner",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "OwnershipTransferred",
"inputs": [
{
"name": "previousOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newOwner",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "Unjail",
"inputs": [
{
"name": "sender",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "validatorCmpPubkey",
"type": "bytes",
"indexed": false,
"internalType": "bytes"
}
],
"anonymous": false
},
{
"type": "event",
"name": "UnjailFeeSet",
"inputs": [
{
"name": "newUnjailFee",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "Upgraded",
"inputs": [
{
"name": "implementation",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "error",
"name": "AddressEmptyCode",
"inputs": [
{
"name": "target",
"type": "address",
"internalType": "address"
}
]
},
{
"type": "error",
"name": "ERC1967InvalidImplementation",
"inputs": [
{
"name": "implementation",
"type": "address",
"internalType": "address"
}
]
},
{
"type": "error",
"name": "ERC1967NonPayable",
"inputs": []
},
{
"type": "error",
"name": "FailedInnerCall",
"inputs": []
},
{
"type": "error",
"name": "InvalidInitialization",
"inputs": []
},
{
"type": "error",
"name": "NotInitializing",
"inputs": []
},
{
"type": "error",
"name": "OwnableInvalidOwner",
"inputs": [
{
"name": "owner",
"type": "address",
"internalType": "address"
}
]
},
{
"type": "error",
"name": "OwnableUnauthorizedAccount",
"inputs": [
{
"name": "account",
"type": "address",
"internalType": "address"
}
]
},
{
"type": "error",
"name": "UUPSUnauthorizedCallContext",
"inputs": []
},
{
"type": "error",
"name": "UUPSUnsupportedProxiableUUID",
"inputs": [
{
"name": "slot",
"type": "bytes32",
"internalType": "bytes32"
}
]
}
]
12 changes: 12 additions & 0 deletions client/cmd/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@ func bindRollbackFlags(cmd *cobra.Command, cfg *config.Config) {
cmd.Flags().BoolVar(&cfg.RemoveBlock, "hard", false, "remove last block as well as state")
}

func bindValidatorUnjailFlags(cmd *cobra.Command, cfg *unjailConfig) {
bindValidatorBaseFlags(cmd, &cfg.baseConfig)
cmd.Flags().StringVar(&cfg.ValidatorPubKey, "validator-pubkey", "", "Validator's base64-encoded compressed 33-byte secp256k1 public key")
}

// Flag Validation

func validateFlags(flags map[string]string) error {
Expand Down Expand Up @@ -220,3 +225,10 @@ func validateKeyConvertFlags(cfg keyConfig) error {

return fmt.Errorf("at least one of %s must be provided", strings.Join(flagNames, ", "))
}

func validateValidatorUnjailFlags(cfg unjailConfig) error {
return validateFlags(map[string]string{
"rpc": cfg.RPC,
"validator-pubkey": cfg.ValidatorPubKey,
})
}
Loading
Loading