Skip to content

Releases: warden-protocol/wardenprotocol

v0.5.4

07 Nov 10:41
Compare
Choose a tag to compare

Bug Fixes

  • (precompiles) Fix analyzers address convert: change analyzers type from []address to []bytes in warden precompile.
  • (precompiles) Fix address type convert and return derived addresses as strings
  • (precompiles) Fix error with empty keys in space.
  • (precompiles) Return expressions in json encoding.
  • (precompiles) Fix spacesByOwner when no spaces.

v0.5.3

31 Oct 12:07
Compare
Choose a tag to compare

Features (non-breaking)

  • Bump evmos to v20 (stable)

Bug Fixes

  • Add comet alias to tendermint command
  • Fix mempool to be NoOp, for evmos' transactions to work, fixing some non-determinism in the network caused by different mempool settings in app.toml

v0.5.2

22 Oct 14:45
e9ba0b8
Compare
Choose a tag to compare

Features (non-breaking)

  • (x/warden) Fix RejectSignRequestTxCmd - use SignRequestStatus_SIGN_REQUEST_STATUS_REJECTED
  • (x/warden) Expose AddKeychainAdmin and RemoveKeychainAdmin in tx.proto to use in precompiles
  • (evm) Precompiles for x/act and x/warden

Bug Fixes

  • (x/warden) Fix bug with Id=0 in NewKeyEvent

v0.5.1

04 Oct 12:25
f5cde4a
Compare
Choose a tag to compare

Consensus Breaking Changes

  • (x/warden) #660 Added Nonce field to Space to avoid race conditions
  • (x/warden) Keychain fees are deducted with escrow account
  • (wardend) Bump Cosmos SDK to v0.50.9
  • (wardend) Bump ibc-go to v8.5.0
  • (wardend) Bump slinky to v1.0.10
  • (x/warden) #570 Added more metadata to Keychain
    • Replaced Description by Name field (required, non-empty)
    • Added new Description field instead of replaced one
    • Added Url field
    • Added Keybase Id field (16 symbols)
  • (x/act) #631 Add pruning of timed-out actions
  • (x/warden) Make KeychainFees fields non-nullable, use an empty list of coins to indicate no fees
  • (evm) Resolve dependencies issues. For go-ethereum use evmos fork patched with c1b68f1d05a7ee8eee1bde3c4054f49f5d3e3b9f from original repository to support slinky.
  • (evm) To adopt ethsecp256k1 use fork of evmos's cosmos-sdk. Fork patched runtime/module adding into ProvideApp two arguments to customize registering interface registry and legacy amino codec.
  • (evm) Introduce award denomination to adjust units with Ethereum
  • (evm) Using ethsecp256k1 signature for all transactions. Users should reimport their seeds to get new addresses.
  • (x/act) Introduce Votes and Approve/Reject expressions for Actions
  • (x/act) Add expected expressions to MsgAddAction
  • (x/act) Set approve/reject expressions in MsgNewAction. Change rules registry to keep approve/reject expressions.
  • (x/act) Rename Rule to Template
  • (x/act) Remove Template and Approvers from Action.
  • (x/act) Remove TemplateId from Key, AdminTemplateId and SignTemplateId from Space
  • (evm) Bump evmOS to V20

Features (non-breaking)

  • (x/act) Add support for sdk.Coins fields in autogenerated CLI commands for new actions
  • (x/warden) Add the ability for the user to specify the maximum keychain fee size to be deducted
  • (x/warden) Return error if analyzer's address is not bech32
  • (x/act) 724 Add creator filter param to Rules query
  • (wardend) Validate bech32 format in add-genesis-keychain and add-genesis-space

Bug Fixes

  • (x/gmp) Remove the GMP default params from genesis
  • (go-client) Use ethsecp256k1 instead of Cosmos secp256k1

Misc

  • (wardend) Bump CometBFT to v0.38.11

v0.4.2

30 Aug 11:18
Compare
Choose a tag to compare

Consensus Breaking Changes

  • (x/warden) Make KeychainFees fields non-nullable, use an empty list of coins to indicate no fees

Bug Fixes

  • (x/act) Fix bug where the address of the creator of an Action was not set correctly in the context

v0.4.1

09 Aug 14:21
Compare
Choose a tag to compare

Consensus Breaking Changes

  • (x/warden) Add AddKeychainAdmin and RemoveKeychainAdmin to manage Keychain's admins
  • (cosmwasm) Add interoperability with the following messages, that can now be used in CosmWasm contracts:
    • MsgNewSignatureRequest
    • KeysBySpaceId
    • KeyById
    • SignRequests
    • SignRequestById

Bug Fixes

  • (wardend) Upgrade Cosmos SDK to v0.50.8
  • (wardend) Upgrade cosmos/iavl to v1.2.0
  • (cosmwasm) Upgrade to wasmvm v2.1.0
  • (x/act) When an Action is approved, the new approval was not recorded in the database
  • (x/warden) Fixed a bug where UpdateKey could be used to set RuleID to a non-existent Rule
  • (x/warden) Fixed a bug where Keychains fees could be set to negative or invalid amounts
  • (x/warden) Fixed a bug in v3 migrations where some insertions in the database were performed in a non-deterministic order. From our tests this didn't lead to any problem, in this particular case, but we want to play it safe.

Misc

  • (x/warden) Register error codes
  • (x/act) Register error codes

v0.3.2

03 Aug 08:40
Compare
Choose a tag to compare
chore: upgrade cosmos/iavl to 1.0.4

v0.3.1

01 Aug 19:32
Compare
Choose a tag to compare
build: add justfiles for building

v0.4.0

22 Jul 08:36
Compare
Choose a tag to compare

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.

v0.3.0

17 Apr 13:46
338a810
Compare
Choose a tag to compare

Buenavista

We're happy to announce wardend v0.3.0, which will launch the Buenavista testnet! 🎉

Changelog

Consensus Breaking Changes

  • (x/intent) #139 Ability for modules to dynamically resolve variables on Action creation
    • x/warden can now resolve warden.space.owners in Intent definitions into the list of owners of the space
  • (x/intent) #151 Store Intents' AST, instead of the raw string
  • (x/warden) #152 Prevent adding invalid addresses as Keychain parties
  • (cosmwasm) #156 Add support for smart contracts by integrating CosmWasm
  • (x/warden) #173 Remove SignTransactionRequests in favor of just SignatureRequests

Features

  • (shield) #148 Use protobufs for defining the AST
  • (x/intent) #155 Add MsgUpdateIntent, creators of an Intent can use it to change name and definition of their Intents.
  • (x/warden) #159 Resolve warden.space.owners in Intent definitions for MsgNewSignatureRequest and MsgNewSignTransactionRequest
  • (x/warden) #160 Add Osmosis support
    • Derive Osmosis addresses from ECDSA_SECP256K1 keys
    • Extract DataForSigning for Osmosis Amino JSON transactions
  • (cosmwasm) #171 Add support for calling warden module from contracts

Bug Fixes

  • (x/intent) #187 Fix QueryActionsByAddress to not reuse the pointer of iterating variable, causing the query to return the same action multiple times

Misc

  • (docs) #127 Add CHANGELOG.md
  • (ci) #137 Add CodeRabbit configuration file, copied from Cosmos SDK's repo
  • (perf) #138 Add benchmarks for most hit queries in x/warden and x/intent (ActionsByAddress, AllKeys, KeysBySpaceId)
  • (chore) #180 Update to use pnpm v9.0.0