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

Reorder commits #1

Merged
merged 44 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
ecae9ab
feat(x/evmstaking): max unbond withdrawal
jdubpark Sep 29, 2024
6ed2702
chore(x/evmstaking): bump log level
jdubpark Sep 29, 2024
ebcc603
feat(x/evmstaking): spendable coin max amount with tests
jdubpark Sep 29, 2024
3c79734
feat(x/evmstaking): pass zero amount
jdubpark Sep 29, 2024
17663b7
chore(x/evmstaking): move logs
jdubpark Sep 29, 2024
b3411ad
chore(release): finalize client 0.10.1 stable release
leeren Sep 29, 2024
2b82ab2
chore(release): begin story v0.10.2 unstable release
leeren Sep 29, 2024
e54b5cd
feat(cmd): one block rollback (#157)
zsystm Oct 1, 2024
bbe53bf
chore(release): finalize client 0.10.2 stable release
leeren Oct 3, 2024
ee549dc
chore(release): begin client 0.11.0 unstable release
leeren Oct 3, 2024
a8ac9ff
fix(x/evmstaking): endblock unbond branch check (#163)
jdubpark Oct 2, 2024
6c597cd
feat(contracts): deploy script for iptokenslashing (#159)
Ramarti Oct 4, 2024
171dd69
feat(cli): add unjail validator subcommand (#170)
leeren Oct 4, 2024
50a9dd4
chore(release): finalize client 0.11.0 stable release
leeren Oct 4, 2024
0fc112b
chore(release): begin story client v0.11.1 unstable release
leeren Oct 4, 2024
016b1d6
feat(epochs): port epochs module from cosmos-sdk (#101)
0xHansLee Sep 14, 2024
e81908c
chore: modify path for mockgen (#121)
0xHansLee Sep 18, 2024
73552d4
chore(evmstaking): remove unnecessary codes (#125)
0xHansLee Sep 18, 2024
99bed72
add test cases for evmstaking/types/params
zsystm Sep 11, 2024
8cc5172
add test cases for evmstaking/keeper/unjail
zsystm Sep 11, 2024
2f5c500
add test cases for genesis
zsystm Sep 11, 2024
7e51714
fix syntax after rebase
zsystm Sep 19, 2024
d321feb
add test cases for genesis (#112)
zsystm Sep 20, 2024
56c251c
fix(evmstaking): query withdrawal queue (#113)
zsystm Sep 20, 2024
893c9e9
test(evmengine): add test cases for db (#120)
zsystm Sep 23, 2024
cd2402b
test(evmengine): add test cases for helper (#131)
zsystm Sep 23, 2024
4e41fc9
add test cases for keeper (#132)
zsystm Sep 24, 2024
f095326
test(evmengine): add test cases for genesis (#134)
zsystm Sep 24, 2024
a6d4f72
add test cases for genesis (#135)
zsystm Sep 24, 2024
2768a7f
test(evmengine): add test cases for params (#136)
zsystm Sep 24, 2024
1d7bdba
add test cases for params (#137)
zsystm Sep 24, 2024
6a52eef
feat(script): auto add binary version to s3 file (#142)
jhd2best Sep 24, 2024
7549d1f
fix(evmengine): nil panic with optimistic build enabled (#128)
zsystm Oct 1, 2024
59adf08
test(evmengine/keeper): add test cases for msg server (#100)
zsystm Oct 1, 2024
0b8df72
test(evmengine): add test cases for abci (#143)
zsystm Oct 1, 2024
7afb7e0
feat(genesis): disable vote extension by default (#173)
0xHansLee Oct 7, 2024
f36cb01
refactor(panic): remove unused or unnecessary panic code (#171)
edisonz0718 Oct 8, 2024
320913d
feat(mint): customized mint module (#169)
ezreal1997 Oct 8, 2024
13bf423
feat(netconf): fix genesis config of mint module in local netconf (#175)
ezreal1997 Oct 9, 2024
e56eac0
feat(contracts): transparent proxies and el genesis (#165)
Ramarti Oct 9, 2024
e540e65
build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1 (#19)
dependabot[bot] Oct 9, 2024
411b6b3
feat(api): add epochs api (#176)
ezreal1997 Oct 9, 2024
69314f0
feat(mint): update mint param type (#182)
ezreal1997 Oct 9, 2024
842fccf
Merge branch 'main' into reorder-commits
leeren Oct 10, 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 @@ -124,6 +124,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 @@ -189,3 +194,10 @@ func validateValidatorUnstakeOnBehalfFlags(cfg stakeConfig) error {
"unstake": cfg.StakeAmount,
})
}

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