-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #975 from HorizenOfficial/dev
0.10.0 to master
- Loading branch information
Showing
85 changed files
with
4,181 additions
and
335 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Release notes - version 0.10.0 | ||
|
||
--- | ||
|
||
## Notes about new/updated Features | ||
|
||
### Support for multisg MC addresses in ZenDAO Native Smart Contract | ||
|
||
In ZenDAO Native Smart Contract, now MC multisig addresses can be associated to a SC address as any other MC transparent address. | ||
|
||
### Support for ZenIP 42203 & ZenIP 42206 | ||
|
||
The new support for ZenIP 42203 & ZenIP 42206 will introduce the following two features: | ||
|
||
- possibility to execute forward transfers from the Mainchain directly to smart contract addresses | ||
- possibility to increment the forgers' rewards by executing a transfer (standard EOA or forward transfer) to the "special" address 0x000000000000000000003333333333333333333. | ||
- The amount of ZEN collected by the address will be redistributed to each forger proportionally to the number of blocks forged within the latest "distribution window" | ||
- The "distribution window" starts from the previous "distribution window" end. In the case of the 1st distribution, it starts from the hardfork introduced with this version. | ||
- The "distribution window" ends when both the following conditions are met: | ||
- the chain reaches a "Withdrawal epoch end" | ||
- the balance of "special address" is greater than zero | ||
|
||
--- | ||
## Bug Fixes | ||
- Forger Stake native smart contract: OpenStakeForgerList function can now be invoked using the ABI-compliant signature. | ||
|
||
In previous versions, the method signature was incorrectly missing a closing parenthesis at the end: | ||
``` | ||
openStakeForgerList(uint32,bytes32,bytes32 | ||
``` | ||
instead of | ||
``` | ||
openStakeForgerList(uint32,bytes32,bytes32) | ||
``` | ||
|
||
For backward compatibility, the old signature is anyway still valid. | ||
|
||
--- | ||
|
||
## Improvements | ||
|
||
--- | ||
## Update test instructions from previous version | ||
|
||
|
||
--- | ||
Full [Changelog](/CHANGELOG.md) file here | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
qa/SidechainTestFramework/account/httpCalls/transaction/sendMultisigKeysOwnership.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import json | ||
|
||
|
||
def sendMultisigKeysOwnership(sidechainNode, *, sc_address, mc_addr, mc_signatures, redeemScript, | ||
nonce=None, gas_limit=2300000, max_priority_fee_per_gas=900000000, | ||
max_fee_per_gas=900000000, api_key=None): | ||
j = { | ||
"ownershipInfo": { | ||
"scAddress" : sc_address, | ||
"mcMultisigAddress": mc_addr, | ||
"mcSignatures": mc_signatures, | ||
"redeemScript": redeemScript | ||
}, | ||
"nonce": nonce, | ||
"gasInfo": { | ||
"gasLimit": gas_limit, | ||
"maxFeePerGas": max_fee_per_gas, | ||
"maxPriorityFeePerGas": max_priority_fee_per_gas | ||
} | ||
} | ||
|
||
request = json.dumps(j) | ||
if api_key is not None: | ||
response = sidechainNode.transaction_sendMultisigKeysOwnership(request, api_key) | ||
else: | ||
response = sidechainNode.transaction_sendMultisigKeysOwnership(request) | ||
|
||
|
||
if "result" in response: | ||
return response["result"] | ||
|
||
raise RuntimeError("Something went wrong, see {}".format(str(response))) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.