Release v1.15.0
v1.15.0 - 2023-05-05
The Provenance Blockchain v1.15.0 release includes several new features, improvements and bug fixes.
Restricted markers can now be configured to allow transfers to accounts that have specified attributes. Such funds can be transferred using MsgSend
. Restricted markers can also be configured to allow forced transfers.
The x/metadata
module has been given added WASM support. Also, now, a specification can require multiple parties with the same role but different addresses. There is also a new, alternative method of party/role/signer validation available. Scopes that require party rollup can contain optional parties and the parties in its sessions must also be noted as owners in the scope. When records are written to such scopes, there must be a signing party for each role required by the specification.
The provenanced
executable MUST be built using go v1.18 specifically. Building with go v1.19 or v1.20 will result in a state-incompatible executable.
Features
- Add support for tokens restricted marker sends with required attributes #1256
- Allow markers to be configured to allow forced transfers #1368.
- Add support for account addresses by attribute name lookup #1447.
- Add allow forced transfers support to creating markers from smart contracts #1458.
- Metadata party rollup and optional parties #1438.
- Repeated roles in a spec require multiple different parties #1437.
- The
PROVENANCE
role can only be used by smart contract addresses, and vice versa #1381. - Add stargate query from wasm support #1481.
Improvements
- Add the
gci
linter that enforces import group ordering. Create a 'lint-fix' make target PR 1366. - Add gRPC query to get all contract specs and record specs for a scope spec #677.
- Disable
cleveldb
andbadgerdb
by default #1411.
Official builds still havecleveldb
support though. - Expand the
additional_bindings
gRPC tag to use object form to allow for Typescript transpiling #1405. - Add attribute cli command to query account addresses by attribute name #1451.
- Add removal of attributes from accounts on name deletion #1410.
- Enhance ability of smart contracts to use the metadata module #1280.
- Enhance the
AddMarker
endpoint to bypass some validation if issued via governance proposal #1358.
This replaces the oldAddMarkerProposal
governance proposal. - Bump wasmvm to 1.1.2 #1484.
- Documented proposing a transaction #1489.
- Add marker address to add marker event #1499.
Deprecated
- The
MsgWriteRecordRequest.parties
field has been deprecated and is ignored. The parties in question are identified by the session PR 1453.
Bug Fixes
- Fix third party Protobuf workflow checks on Provenance release steps #1339
- Fix committer email format in third party Protobuf workflow (for #1339) PR 1385
- Fix
make proto-gen
PR 1404. - Fix wasmd transactions that are run by gov module #1414
- Add support for ibc transfers of restricted tokens #1502.
- Fix authz + smart contract + value owner updates being too permissive PR 1519.
- Fix metadata params query path in stargate whitelist #1514
Client Breaking
- Removed the
WriteP8eContractSpec
andP8eMemorializeContract
endpoints #1402. - Removed the
github.com/provenance-io/provenance/x/metadata/types/p8e
proto package #1402.
Users that generate code from the Provenance protos might need to delete theirp8e/
directory. - The
write-scope
CLI command now takes in[owners]
as semicolon-delimited parties (instead of comma-delimited[owner-addresses]
) PR 1453. - Removed the
AddMarkerProposal
#1358.
It is replaced by putting aMsgAddMarker
(with thefrom_address
of the gov module account), in aMsgSubmitProposal
.
API Breaking
- Removed the
WriteP8eContractSpec
andP8eMemorializeContract
endpoints #1402. - Removed the
AddMarkerProposal
#1358.
It is replaced by putting aMsgAddMarker
(with thefrom_address
of the gov module account), in aMsgSubmitProposal
.
State Machine Breaking
- The
AddScopeOwner
endpoint now adds a new owner party even if an owner already exists in the scope with that address PR 1453.
I.e. it no longer updates the role of an existing owner with the same address.