github warden-protocol/wardenprotocol v0.4.0

latest releases: v0.4.1, wardend/v0.4.1, v0.3.2...
one month ago

Consensus Breaking Changes

  • (shield) #225 Fix shield to handle grouped expression
  • (shield) Add new operators: <, >, <=, >=, ==, != for comparing integers to each others.
  • (shield) Add support for string objects
  • (shield) Add contains(elem, array) builtin function for checking if elem is contained in the array
  • (shield) Add +, -, *, / math operators for basic integer arithmetic
  • (shield) Add negative prefix operator to handle negative expressions and integers
  • (shield) Change integer representation from int64 to big.Int
  • (x/act) Add MsgNewAction as unique entrypoint for creating Actions
  • (x/act) Fix bug where Actions' Results were being wrapped in Any twice
  • (x/act) Add SimulateRule query request
  • (x/act) Add the following events:
    • EventCreateRule
    • EventUpdateRule
    • EventCreateAction
    • EventApproveAction
    • EventActionStateChange
  • (x/act) Improve CLI flags allowing to specify enums using their names instead of their numeric values
  • (x/warden) Ensure only Keychain's parties can update a SignRequest
  • (x/warden) Change Keychain.Fees type to Coins instead of uint64s. This makes possible to receive any token as a fee, not just uward.
  • (x/warden) Remove Keychain.IsActive field. This field was used to determine if a Keychain was active or not, to automatically reject incoming requests, but it was never used.
  • (x/warden) Add the following events:
    • EventCreateSpace
    • EventUpdateSpace
    • EventAddSpaceOwner
    • EventRemoveSpaceOwner
    • EventNewKeyRequest
    • EventNewKey
    • EventRejectKeyRequest
    • EventUpdateKey
    • EventNewSignRequest
    • EventFulfilSignRequest
    • EventRejectSignRequest
    • EventNewKeychain
    • EventUpdateKeychain
    • EventAddKeychainParty
  • (x/warden) Rename UpdateKeyRequest to FulfilKeyRequest
  • (x/warden) Rename SignatureRequest to SignRequest
  • (x/oracle) Integrate Slinky

Features

  • (wardend) Add wardend genesis add-genesis-space and wardend genesis add-genesis-keychain commands to prepare the genesis file
  • (wardend) analyzers smart contract: a way for 3rd party builders to provide metadata to shield's intents during new signature requests
  • (wardend) Initial version Ethereum analyzer
    • can be used to pass an Ethereum unsigned transaction, and will return the correct DataForSigning
  • (faucet/v2) New web-based version of the faucet that uses recaptcha.
  • (faucet/v2) UI/UX tweaks.
  • (x/warden) #377 Add keychain_fees field to MsgUpdateKeychain message
  • (x/warden) Remove Keychain.AdminIntentId field. This field was used to choose an Intent for operations, but it was never used.
  • (x/warden) Add autogenerated CLI subcommands for MsgNewAction. These make it easier to send transactions such as AddSpaceOwner, etc.
  • (x/warden) Add an option EncryptionKey to SignRequests. If set, the Keychain is requested to encrypt the signature before sending it back to the Warden Protocol.
    • This is useful for users who want to keep their signatures private, allowing them to use in dApps such as dYdX, where the signature is used to "login".
  • (x/warden) Remove deprecated SignMethod field from MsgNewSignatureRequest. Use analyzers instead.
  • (x/act) Fix bug for Rules hooks not having the creator of the Action in the context
  • (x/act) Added a new MsgCheckAction for manually re-checking the action rule status
  • (x/gmp) Added a new module to make Axelar GMP requests from Warden.
  • (cosmwasm) Installed IBC-Hooks to be able to call CosmWasm contracts from the other chains.

Bug Fixes

  • (shield) fix possible occurring panic in case of nil env
  • (x/act) Prevent Rules from being created with an empty name
  • (x/warden) Handle analyzers that return string values correctly
  • (x/warden) Fix KeyRequests query when KeychainId filter is not set
  • (x/warden) Fix SignRequests query when KeychainId filter is not set
  • (x/warden) Ensure that SpacesByOwner index is updated when an owner is removed

Misc

  • (build) Add just localnet command to replace ignite chain serve
  • (shield) Improved error messages when parsing an unknown token type
  • (shield) Add unit tests for AST preprocessor
  • (x/warden) Rename Keychain "parties" to "writers" for clarity, as they are the only ones that can write on-chain data on behalf of the Keychain.

Don't miss a new wardenprotocol release

NewReleases is sending notifications on new releases.