nico
ffe1112270
woop
9 months ago
Max
c38f4e498c
governance: do not allow `approval` hex interpret ( #302 )
...
* governance: do not allow `approval` hex interpret
* gov: remove privacy, add reason, upd example
* gov: remove outdated comment
1 year ago
Max
aecd7314c0
governance: fix voting support for `approval` etc ( #301 )
...
* governance: fix voting support for `approval` etc
- approval and ranked-choice (uint32[]) => []interface{}
- quadratic / weighted / shutter => unchanged
- single-choice => unchanged
- return error if unknown type
- remove panic when converting to uint64
- add examples as comments for each of the proposal types. these have
been verified by comparing with snapshot.js output
* ci: upload test artifact
* ci: run upload artifact after mac build
* ci: rename mac os bin to avoid upload overwrite
* ci: separate artifacts for darwin and linux
1 year ago
Max
72a36bccc3
pkg/ledger: fix transaction signing ( #298 )
...
* pkg/ledger: fix transaction signing
Split the message to be signed into packets of size 255. The
implementation is simply copied over from staking transaction signing.
Closes #297
See also harmony-one/staking-dashboard#637
* pkg/ledger: only enumerate hid devices
update the fix from #293 to only enumerate HID devices instead of all
(raw/USB) devices
* pkg/ledger: use `usb` for import not `hid`
2 years ago
MaxMustermann2
5cbf0c66dc
cmd: add support for `data` signing
2 years ago
MaxMustermann2
6675575fbb
build: remove multiple definitions error
2 years ago
MaxMustermann2
ab8340898b
governance: add voting support for snapshot.org
2 years ago
Ian Denhardt
17c2359fc4
console: support `data:` field to {send,sign}Transaction.
...
This adds support for the data: field in console calls to
sendTransaction & signTransaction, with the same semantics as in
web3.js.
3 years ago
lutty
f6bacab4e6
opti
3 years ago
Lutty
f84488f0b9
opti
3 years ago
Lutty
9b9459411b
opti
3 years ago
hsiung
d06268fa82
Add Snapshot field to new proposal yaml
3 years ago
Lutty
ccf4dde0ba
change version to 0.2.0
3 years ago
LuttyYang
a2997242b5
fix issue 187 ( #262 )
3 years ago
LuttyYang
091a3a1178
Offline signing ( #258 )
...
* init
* add offline-sign-transfer
* test and write document
3 years ago
Lutty
ab1cb6df13
support multi-choice governance
3 years ago
Lutty
fe647eaba0
opti
4 years ago
LuttyYang
979e58f418
fix https://github.com/harmony-one/go-sdk/issues/255 ( #257 )
4 years ago
Lutty
04d6def83c
test smart contract
4 years ago
Lutty
5e13282019
first version
4 years ago
Leo Chen
bc3f026798
fix build error
...
Signed-off-by: Leo Chen <leo@harmony.one>
4 years ago
LuttyYang
02a812cd6a
add note and error description ( #246 )
...
* add note
* add error description when fail
* typo
4 years ago
LuttyYang
2432f22344
add governance ( #244 )
...
* add governance
* opti
* remove test.yml
4 years ago
Sebastian Johnsson
d14411d0ec
Add support for sending ethereum txs using go-sdk
4 years ago
Sebastian Johnsson
37f344c5b7
Use latest harmony-one/harmony version, use new types.Transaction API
4 years ago
Sebastian Johnsson
6f700a092b
go fmt ./...
4 years ago
Sebastian Johnsson
14eb1a8374
Set default RPC methods to v1; fix tests
4 years ago
Sebastian Johnsson
e603dddebe
Add support for multiple rpcs (hmy, eth)
4 years ago
Sebastian Johnsson
e049267110
[bls] Use new BLS wrapper from harmony-one/harmony ( https://github.com/harmony-one/harmony/pull/3209 )
4 years ago
Daniel Van Der Maden
4b5a1e21b2
Add Passphrase check for keystore wallet ( #230 )
...
* [account] Add VerifyPassphrase
* Add checks for AddressNotFound
* [keys] Add verify passphrase command
5 years ago
Janet Liang
8f64d78f84
[numeric] Allow + in scientific notation ( #228 )
5 years ago
Janet Liang
854a73eba6
[common] Allow capital E in scientific notation for amount input ( #227 )
5 years ago
Daniel Van Der Maden
4b59bb71b4
Use pending nonce over true nonce by default for txs ( #224 )
...
* [pkg] Add GetNextPendingNonce
* [cmd] Add `--true-nonce` option for staking tx and plain tx
* Update README.md
* Update README.md
* update cookbook doc
* [cmd] consolidate nonce logic into 1 fn
5 years ago
Janet Liang
881b3ca520
[bls] Improve sanitization for bls key passphrase too
5 years ago
Janet Liang
1af7852153
[keys] Better error messages when unable to unlock keystore ( #222 )
5 years ago
Daniel Van Der Maden
4e9df94013
[debug] Add response time to verbose option
5 years ago
Janet Liang
75d421a6c8
[chainid] Add auto detect for dry run endpoint
5 years ago
Daniel Van Der Maden
f8742916ee
Add node check when generating BLS keys ( #219 )
...
* Revert "[chain-id] Remove partner chain-id & references to ps endpoint"
This reverts commit 0a8869b36c
.
* [validation] Add node connection validation function
* [pkg/bls] Refactor BLS gen fn names & sigs
* [cmd] Add node check when generating BLS keys, default to mainnet
5 years ago
Janet Liang
0a8869b36c
[chain-id] Remove partner chain-id & references to ps endpoint
5 years ago
Janet Liang
9d6e1f5aca
[rpc] Remove deleted hmy_getValidatorMetrics RPC
...
[cli] Remove command for deleted RPC
5 years ago
Janet Liang
7a1594ba95
[keys] Remove whitespace when reading passphrase from file for bls keys
5 years ago
Janet Liang
59ec72fd79
[ #213 ] Export keystore to an output directory
5 years ago
janet-harmony
0127fde4bb
[blockchain] Add latest-headers command to get chain headers ( #206 )
5 years ago
Michael Otis
a1a9461754
Fix updated bls references, from Bls -> BLS ( #202 )
5 years ago
Edgar Aroutiounian
0d446e03b8
[pkg/sharding] Do not ignore unmarshal error
5 years ago
Sebastian Johnsson
cf29acd7f8
Update to latest harmony-one/harmony + fix BLS naming
5 years ago
Sebastian Johnsson
ffc1e4ebca
Refactor multi bls key generation - add support for specifying the key path for each separate key
5 years ago
Sebastian Johnsson
f97ef08540
Fix JSON output
5 years ago
Leo Chen
5b58125aae
[hmcli] add --bls-pubkeys-dir option
...
This option can be used to automate the create-validator and
edit-validator actions. No need to manually input the path to the
blskeys and the passphrase.
--bls-pubkeys-dir <path> is used to specify the path to the bls pubkey
files and the passphrase files
the pubkey and passphrase files should follow the naming convention of
pubkey.key and pubkey.pass as a pair.
Signed-off-by: Leo Chen <leo@harmony.one>
5 years ago
Janet Liang
3bffe6e5df
[ #192 ] Sanity check negative input for amount, gas-price, gas-limit, and nonce
5 years ago