Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: merge original version 0.16.3 (#148)
* typo * Typo in IBC.md Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com> * Make mock_ibc_{channel, packet} private * Change new release version to 0.16 * Add custom events to IBC response types * Add the cosmwasm-* version changes to MIGRATING.md * Update IBC contracts * Test the new events field in IBC response types * attr construction should panic for reserved names * type in packages/std/src/results/attribute.rs Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com> * Collect Attribute and Event in events.rs * cargo update * Update to latest k256 v0.9.4 * Update Cargo.lock * Fix deprecation warning in benches * Update contract lock files * Move counterparty_version to IbcChannelOpenMsg * Diff between the 6 different IBC entry points * Update contracts * Fix clippy +1.53.0 warnings * Add changelog entry for to_hex() change * style * Update vm test contracts * Update docs re IBC channel entrypoint changes * Update docs * Set version: 0.16.0-rc1 * Update NOTICE file * Export GovMsg * Make IBC Msg types serialize as snake case * CHANGELOG update * Set version: 0.15.1 * Set version: 0.16.0-rc2 * Export VoteOption * Run format on std * Builder-esque pattern for Response * Revert "Builder-esque pattern for Response" (oops) This reverts commit 8202901. * CHANGELOG update * Set version: 0.15.2 * CHANGELOG update - 0.15.2 * Fix CHANGELOG * Set version: 0.16.0-rc3 * Use _contract_address rather than contract_address * Rebuild vm test contracts * Update event attributes for test (_contract_address) * Fix compiler errors * Add mock_wasmd_attr helper * cosmwasm-std: Rename IbcAcknowledgementWithPacket -> IbcPacketAckMsg * Update ibc-reflect-send contract * Update test contract for vm * Update CHANGELOG and MIGRATING * Fixed integration tests * Set version: 0.16.0-rc4 * Response: builder pattern instead of literals * Handy traits for Attribute * Make Response::add_attribute more flexible * cargo fmt * Add bulk setters for Response * Update contracts * Docs update * Switch back to `add_attribute` accepting 2 params * Improve docs * style * Apply the new "builder" pattern to IBC responses * Make `Event` non_exhaustive * CHANGELOG update * Make IBC Msgs non_exhaustive * Mark IbcAcknowledgement non_exhaustive * Mark IbcChannel and IbcPacket as non_exhaustive * Make `mock_ibc_channel` public again * CHANGELOG update * Update MIGRATING * Add constructors for IbcChannel and IbcPacket * Refactor event construction test * Set version: 0.16.0-rc5 * fix a typo * execute cargo schema in some contracts * Make sure all features are enabled for docs.rs * Improve events documentation * Fix broken docs link * Disable `backtraces` feature in docs builds * update schemas * Fully removed all generic implementations of Into<String>, and some others * Resolve merge conflict * Remove merge conflict #2 im rlly stupid * Got all of them (I think) * Fixed links to other CosmWasm projects * Improved the "Creating a Smart Contract" section * Update Wasm entry points * Update Rust entry points * Added `into_string` function to `Addr` * Removed the final ones * Removed all of them!!!! * Fixed formatting * Fixed the return type things... idk why they aren't working * Format * Thanks for the tip, forgot abt cargo fmt :) * Document Minimum Supported Rust Version (MSRV) * Turn bullet points into real sentences * Implement exported_function_names for both Wasmer and parity * Use exported_function_names in required_features_from_module * Inline required_features_from_wasmer_instance * Change Instance::required_features * Add required_features field to AnalysisReport * Pull out check_interface_version check * Remove too old test contract * Update compatibility table for CosmWasm 0.16 * Pull out INTERFACE_VERSION_PREFIX and SUPPORTED_INTERFACE_VERSION * Remove misleading hint from error message * Switch to loupe to estimate the module size in bytes * Add loupe to module_size reporting * Add clarifying comment * Fix clippy warning * Move module_size out of fs_cache * Add test check_interface_version_works * Avoid unnecessary vector when working with iterator * Set version: 0.16.0-rc6 * Set version: 0.16.0 * Add `From` conversions for `Cow<Addr>` * Parse contract address from instantiate event, not message event * Fix linting error * Rebuild ibc-reflect test contract * fix a test for std with backtraces * execute cargo fmt * Run multiple clippy jobs in CI * Use config version 2.1 * Fix needless borrow warnings * Don't pass too long input to VM in addr_validate/addr_canonicalize * Implement Isqrt for Uint128 * Implement Isqrt for Uint64 * Implement Uint256 * Expose Uint128::full_mul with a Uint256 result * Add a big number test for Uint256::isqrt() * Fix Uint256::try_from(&str) to expect dec values * More idiomatic names for Uint256 constructors * Simplify Uint256::Shr implementations * Test endianness of Uint256 * Fix uint256 shr tests * Export ConversionOverflowError * Docs and CHANGELOG * Implement Uint256::checked_shr * Format .md files * Expose Uint64::full_mul * Implement Uint512 * Implement Uint256::full_mul * Set version: 0.16.1 * CHANGELOG update * Test Uint{128,256,64}::multiply_ratio with large inputs * Implement `Decimal::from_ratio` using full multiplication * Make Decimal hold a Uint128 internally * Fix clippy * style (suggestions from code review) Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com> * Code comments * Update CHANGELOG * CHANGELOG update * style fixes for Uint* * Update CHANGELOG * Update dependency k256 to ^0.9.6 * Use rust-optimizer 0.12.1 * Add a test for Uint* Display padding * Fix the padding bug for Uint256 and Uint512 * Add CHANGELOG entry for OverflowOperation::Shr * Remove extra ` from CHANGELOG * Add Shl implementation * Make Uint256::from_le_bytes const * Make Uint256::from_be_bytes const * Make Uint256::new const * Improve Uint256::new docs * Make FunctionDeterministic private * Implement FunctionDeterministic::default() * Replace Deterministic::new with ::default * Add configurations to FunctionDeterministic * Pull out MIDDLEWARE_NAME * Make error message specific to floats * Rename Deterministic -> Gatekeeper * Add note on Gatekeeper * Pull out GatekeeperConfig * Rename allow_float -> allow_floats * Implement Decimal256 * Fix some Decimal256 bugs * Fix Decimal256 tests * Update Decimal256 comments * clippy * CHANGELOG update * Add a comment about Decimal*::sqrt algorithm * Define DECIMAL_PLACES as a const in Decimal* * Decimal256: 18 decimal places + const fns * Decimal256: DECIMAL_FRACTIONAL* are now constants * Update CHANGELOG * Apply suggestions from code review Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com> * Fix CHANGELOG * Set version: 0.16.2 * CHANGELOG - new release * fix: update voting-with-uuid * fix: update rust version for git workflow * chore: update reflect contract schema * chore: formating * chore: cargo clippy * fix: fix crypt bench * fix: update github workflow's rust optimizer * feat: pin dependent uint version 0.9.1 uint version 0.9.2 or lator uses the feature of edition2021. This cannot be used from wasmvm now. Co-authored-by: Tomasz Kurcz <uint@lavabit.com> Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com> Co-authored-by: Simon Warta <simon@warta.it> Co-authored-by: Mauro Lacy <mauro@lacy.com.es> Co-authored-by: Ethan Frey <ethanfrey@users.noreply.github.com> Co-authored-by: Giancarlos Salas <giansalex@gmail.com> Co-authored-by: lukerhoads <pumpkineater661@gmail.com> Co-authored-by: Bartłomiej Kuras <bart.k@confio.gmbh>
- Loading branch information