Official repository for core projects comprising the Celo platform
APACHE-2.0 License
Bot releases are visible (Hide)
Published by aaronmgdr about 1 year ago
This Beta Release for 5.0 series Adds Support for and favors using eip1559 (when no fee currency selected) and cip42 (when it is) legacy transaction serialization will only be used if gasPrice is explicitly set.
These version have a bug and do not work use 5.0.2 or higher
gasPrice is no longer an option on config. setting 0 (or any empty value) for gasPrice in transaction will result in maxFeePerGas and maxPriorityFee per gas being set on the transaction
likewise gasPrice is no longer settable on the connection itself
(note that the gasPrice function for fetching price from node is NOT affected)
replace connection.fillGasPrice with connection.setFeeMarketGas
add inputAccessListFormatter
remove deprecated setGasPriceForCurrency
EncodedTransaction Type now supports CIp42 and EIP1559 transactions
inputCeloTxFormater now returns type FormattedCeloTx although apart from support for cip42 and eip1559 tx the data returned hasnt changed
numberToHex, ensureLeading0x, inputAddressFormatter now are typed to return 0x{string} instead of just string
*added parseAccessList and inputAccessListFormatter for converting accessList from json to array of array and back
removed gasPriceSuggestionMultiplier == gas price from rpc no longer multipled by 5
remove kit.fillGasPrice
remove updateGasPriceInConnectionLayer
remove kit.gasPrice
extractSignature now throws if the length of provided tx is not correct
extractSignature was incorrectly typed to return Buffers for r and s values
ensureLeading0x now types output to be 0x{string}
https://www.npmjs.com/package/@celo/contractkit/v/5.0.0-beta.1
Published by aaronmgdr over 1 year ago
Published by aaronmgdr over 1 year ago
getSupportWithConstitionThreshold
method to governance wrapperPublished by pahor167 over 1 year ago
This is the ninth release of the Celo Core Contracts. It follows the release process per the docs.
Verilog Core Contracts Release 9: Audit
Previously, the voting system for proposals limited users to voting with all of their owned locked gold. However, a recent change has removed this limitation, giving users the flexibility to choose the amount of locked CELO they wish to use when voting. With this change, users can allocate a portion of their locked CELO to vote either for or against proposals or possibly abstain. This allows for greater control over decision-making and can help users to more accurately reflect their preferences.
Standalone approval stage was removed and now it is possible to approve proposals in referendum stage when proposal can already be voted on.
Voting for more than 10 groups was not allowed due to the high cost of calculating the total votes per account across all groups. However, this PR proposes an opt-in feature that permits voting for more than 10 groups. If this feature is enabled, account holders will need to update the vote count for each group they vote for on a daily basis.
Contract Name | Old | New |
---|---|---|
Attestations |
1.1.1.2 |
1.2.0.0 |
Election |
1.1.1.2 |
1.1.3.0 |
GoldToken |
1.1.1.1 |
1.1.2.0 |
Governance |
1.2.1.1 |
1.3.0.0 |
LockedGold |
1.1.2.0 |
1.1.2.1 |
Validators |
1.2.0.3 |
1.2.0.4 |
Published by aaronmgdr over 1 year ago
Published by aaronmgdr over 1 year ago
note 1.8.1-beta has the same code as 2.0 (upgrade to major release after realizing there was a breaking page)
Published by alecps over 1 year ago
Adds ability to timeout ODIS requests with an AbortController to the identity SDK https://github.com/celo-org/celo-monorepo/pull/10131
@celo/identity
Published by aaronmgdr almost 2 years ago
celocli governace:show
will now display human readable overview of proposed transactions when interacting with non core celo contracts (via sourcify)Published by aaronmgdr almost 2 years ago
Published by dckesler almost 2 years ago
Published by alecps almost 2 years ago
Add support for arbitrary off-chain identifiers in the @celo-org/identity sdk. Previously, the sdk was written to be phone number specific and identifiers were prefixed with tel://
after returning from ODIS. This update adds new prefixes for twitter + email and refactors the code to be identifier agnostic.
Published by alecps almost 2 years ago
ODIS 2.0.0 is a complete refactor of ODIS that adds support for
phoneNumberPrivacy-1
and the more recent version of that key share (generated during the resharing ceremony on 10/22/21) should be labeled phoneNumberPrivacy-2
. The CIP40 key share generated during the DKG ceremony on 10/22/21 should be named domains-1
.phoneNumberPrivacy
(with versions 1 and 2) and domains
(with only version 1). The KEYSTORE_GOOGLE_SECRET_NAME env variable isn't used anymore.true
in order to enable all APIs (See Signer README for more info)LEGACY_PHONE_NUMBER_PRIVACY_API_ENABLED
PHONE_NUMBER_PRIVACY_API_ENABLED
DOMAINS_API_ENABLED
NOTE / UPDATE : This upgrade is currently incompatible with MySQL. If you're using MySQL for your signer DB, please let us know and hold off on upgrading.
NOTE: You will not be able to roll back the upgrade because the database will be updated in a non-backwards compatible way. If your signer is having trouble starting up, it is almost certainly an issue with how your keys are labeled. Please double check your key configuration prior to upgrading, and if an issue does occur there's no need to worry. The system is able to handle limited downtime from 1 or 2 signers at a time and we will be readily available on discord to help troubleshoot.
master
, run yarn && yarn build
from the root directory (might take 10-15 mins), and follow the Validating before going live
instructions in the Signer README to test that your service is configured properly. If you encounter difficulties or would like further guidance, don't hesitate to reach out on Discord.Support for ODIS 2.0.0, including new types, enums, error messages, and more. From now on, request and response types should be imported directly from this package instead of the identity SDK when directly querying ODIS, or else using the convenience query methods in the identity SDK.
blind-threshold-bls
dependency to allow for browser compatibility.btoa
dependency.@celo/poprf
from ^0.1.6 to ^0.1.9Published by alecps almost 2 years ago
This release provides SDK support for querying ODIS 2.0.0, including the new ODIS quota endpoints. Changes are primarily in the @celo/identity
SDK.
getPhoneNumberIdentifier
: new required parameters -- existing function calls must be updated.queryOdis
: new required parameters -- existing function calls must be updated.getBlindedPhoneNumberSignature
: optional parameters have changed -- existing function calls should be reviewed and possibly updated.@phone-number-privacy-common
.OdisUtils.Matchmaking
, has been removed.StableTokenRegistry
, see this PR for more detailsWasmBlsBlindingClient
.@phone-number-privacy-common
from 1.0.39 to 2.0.0@celo/poprf
from ^0.1.6 to ^0.1.9Published by aaronmgdr about 2 years ago
Published by aaronmgdr about 2 years ago
Published by aaronmgdr about 2 years ago
This Release fixes issue with 1.7.1. not being able to approve until 1.3.0.0 Governance.sol is deployed. Approve fails since it expects proposal in Referendum stage.
1.7.2 is compatible with both pre 1.3.0.0 and post 1.3.0.0 Governance
Published by aaronmgdr about 2 years ago
Add Payment Delegation Commands to the CLI by @swidnikk
Parallelize approval and referendum governance stages by @pahor167
yarn add @celo/[email protected]
1.7.0 was accidentally published pointing to alpha release of @celo/contrctkit without alpha tag or name. but is otherwise essentially identical
Published by aaronmgdr about 2 years ago
Published by aaronmgdr about 2 years ago
Published by aaronmgdr about 2 years ago