aptos-core

Aptos is a layer 1 blockchain built to support the widespread use of blockchain through better technology and user experience.

OTHER License

Downloads
188.6K
Stars
6.1K
Committers
468

Bot releases are visible (Hide)

aptos-core - [Testnet] Aptos Node Hot-fix Release v1.3.1

Published by thepomeranian over 1 year ago

What's Changed

[API] Transactions api doesn’t return resource group writesets when converting to MoveValue (1.3.1 hotfix) by @movekevin in https://github.com/aptos-labs/aptos-core/pull/7273

Docker image: aptos-node-v1.3.1

Check out what was released in v1.3.0 here!

aptos-core - [Mainnet][Fullnode] Aptos Node Release v1.2.7

Published by sherry-x over 1 year ago

What's Changed

A hot-fix for fullnodes on pagination.

Full Changelog: https://github.com/aptos-labs/aptos-core/compare/aptos-node-v1.2.6...aptos-node-v1.2.7

aptos-core - Aptos CLI Release v1.0.8

Published by github-actions[bot] over 1 year ago

[1.0.8] - 2023/03/16

Added

  • Added an aptos account derive-resource-account-address command to add the ability to derive an address easily
  • Added the ability for different input resource account seeds, to allow matching directly with onchain code
  • Added beta support for coverage via aptos move coverage and aptos move test --coverage
  • Added beta support for compiling with bytecode dependencies rather than source dependencies

Fixed

  • All resource account commands can now use utf8 seed which will match the onchain representation of b"string" rather than always derive a different address
  • Tests that go over the bytecode size limit can now compile
  • vector<string> inputs to now work for both aptos move view and aptos move run
  • Governance proposal listing will now not crash on the latest on-chain format
  • Move compiler will no longer use an environment variable to communicate between compiler and CLI for the bytecode version

Installation instructions

aptos-core - [Testnet] Aptos Node Release v1.3.0

Published by sherry-x over 1 year ago

New features and enhancements

Aptos Blockchain

  • Implemented “rolling commit” to track the prefix of committed transactions in parallel execution accurately, without introducing overhead compared to the current lazy commit approach that can only commit all the transactions together.

Aptos Frameworks

  • AIP-10: Move objects for global access to heterogeneous set of resources stored at a single address on-chain. Objects offer a rich capability model that allows for fine-grained resource control and ownership management. By leveraging the aspects of the account model, objects can directly emit events that may lead to a richer understanding of on-chain actions.
  • AIP-12: A new Multisig account standard that is primarily governed by transparent data structures and functions in a smart contract (multisig_account) with more ease of use and more powerful features than the current multied25519-auth-key-based accounts.
  • AIP-16: New cryptography natives for hashing and MultiEd25519 PK validation to add support for computing the Blake2b-256 hash function in Move smart contracts, computing SHA2-512, SHA3-512 and RIPEMD-160 hash functions in Move smart contracts, and upgrade MultiEd25519 PK validation to V2 address a bug where a PK with 0 sub-PKs would've been considered valid.
  • AIP-18: Introducing SmartVector and SmartTable into aptos move standard library. These two data structures are built for storing on-chain large datasets that either cannot fit intovector or are expensive to use Table. Our preliminary benchmark shows a remarkable saving in gas in terms of storage fee.
  • Added math libraries. This includes sqrt, mulDiv, exp/log for FixedPoint32, floor_log2, log2, mulDiv and ceil_div for u64 and u128.
    Added ability to access chain ID inside aptos_stdlib.

Move Language and VM

  • AIP-8: Higher-order Inline Functions for Collections
    Proposed functions merged into move-stdlib and aptos-stdlib (as can be seen in the simple_map and vector Move modules).
    No decision yet about the shape of those features for large collections like tables and upcoming smart collections.
  • AIP-9: Resource groups to support storing multiple distinct Move resources together into a single storage slot.
  • AIP-17: Reducing Execution Costs by Decoupling Transaction Storage and Execution Charges. This allows for a new gas schedule to lower execution and IO transaction costs by 100x.

Resolved Issues

  • Our MultiEd25519 Move module allowed for some invalid MultiEd25519 PKs to be deserialized as ValidatedPublicKey structs. Such incorrectly-deserialized structs would have been caught later on during signature verification. We have fixed this bug to guarantee correct semantics of MultiEd25519 validated PKs. https://github.com/aptos-labs/aptos-core/pull/5822

Security Fixes

  • The Move bytecode verifier has a new metering logic to prevent denial of service attacks. Overly complex programs are detected and rejected by the verifier. (released into Mainnet with v1.2.6)
  • All Move native function implementations in Rust have been changed to preemptively charge gas before executing any potentially-expensive operation. This precludes DoS attacks. (released into Mainnet with v1.2.6)

Deployment

  • Commit hash 3fc3d42b6cfe27460004f9a0326451bcda840a60
  • Docker image tag aptos-node-v1.3.0
aptos-core - Aptos CLI Release v1.0.7

Published by github-actions[bot] over 1 year ago

CLI Release 1.0.7

New features

  • Execution hash approval command for on-chain governance

Improvements

  • Bytecode v6 is now the default, and no longer needed for --bytecode-version 6, this supports View functions, u16, u32 and u256 automatically in compiling
  • Updated CLI help documentation to wrap better in the CLI. aptos <command> -h will give short help aptos <command> --help will give the longer more detailed help.

Installation instructions

aptos-core - Aptos Node Hot-fix Release v1.2.6

Published by sherry-x over 1 year ago

Aptos Node Hot-fix Release v1.2.6 (validator only)

Several security hot-fixes to limit the resource usage, and make native functions safe.

aptos-core - Aptos CLI Release v1.0.6

Published by github-actions[bot] over 1 year ago

aptos-core - Aptos Framework Release v1.2.0

Published by sherry-x over 1 year ago

aptos-core - Aptos Node Hot-fix Release v1.2.5

Published by sherry-x over 1 year ago

What's Changed

Full Changelog: https://github.com/aptos-labs/aptos-core/compare/aptos-node-v1.2.4...aptos-node-v1.2.5

aptos-core - Aptos Node Release v1.2.4

Published by sherry-x over 1 year ago

New features and enhancements

Aptos blockchain

State synchronization

  • Added exponential back-off to reduce timeouts for full nodes in low-bandwidth environments.
  • Made several small performance optimizations to reduce latencies and better handle timeouts.

Move lang

New integer types (u16, u32, u256)

  • Devnet, testnet and the dev tools (CLI, SDK) now all have experimental support for these new integer types (with mainnet support on the way).
  • The new integer types have the same syntax as the existing ones, with arithmetic and casting operations being fully implemented. Library support is currently lacking, but we are actively working on it.
  • Right now, to use the new integer types, you need to add an extra argument --bytecode-version 6 when invoking the Move commands (compile, test, publish etc.), or otherwise you will get an error message suggesting that these types are not available.
  • On the other hand, if you try to submit a v6-encoded transaction to mainnet, it will be outright rejected due to v6 not being supported there (yet). This is also the reason why we’re making this option disabled by default, at least for now. Bytecode v6 will become the default once support lands on mainnet.

View functions

  • View functions are now available! They can be defined with #[view] annotation example and called via the view function API Specs. See Reading state with the View function for instructions.
  • In order to use the new view functions, you need to pass --bytecode-version 6 to the Aptos CLI.

Compile-time checks for transaction arguments

  • Added compile-time checks for transaction arguments. Now the compiler gives you an error if you try to return a value from an entry function or pass a structure as a parameter instead of postponing this error to runtime.
  • Notice that if you have an old entry function that does not pass the compiler and you cannot remove it because of compatibility checks, you can use the attribute #[legacy_entry_fun] to deactivate the compile-time checks.

Code Upgrade

  • Dependencies of packages are now verified to have the same or stricter upgrade policy then the given package
  • For compatibility checks, friend functions are now treated similar as private functions, that is, they can be renamed and their type can be changed.

Smart contracts

  • Governance: Added support for multi-step proposal - for reference, see AIP 3 .
  • Token: Added collection and token mutation functions.
  • Cryptography: Added support for in Move for SHA2-512, SHA3-512, RIPEMD-160 and Blake2b-256 hashing.

Aptos Improvement Proposals (AIPs)

With this release, we will be able to enable the functionality outlined in AIT1 to AIT4, they will be submitted on-chain as governance proposal.

  • AIP 1 - Proposer selection improvements
  • AIP 2 - Multiple Token changes.
  • AIP 3 - Multi-step governance proposal
  • AIP 4 - Update simple map to reduce gas

Resolved issues

  • Apart from the features mentioned above, our team also fixed a couple of bugs that had the potential to crash the validator or DoS the system. We identified these issues as part of our routine third-party auditing and bug bounty program.
aptos-core - Aptos CLI Release v1.0.5

Published by github-actions[bot] over 1 year ago

Installation instructions

Release notes

Features

  • Ability to upgrade the CLI in place with aptos update
  • Can now ignore warnings in aptos move test --ignore-compile-warnings
  • Support u16, u32, u256 in aptos move run commands
  • Support for the latest Move features including beta support of Move macros and inline functions

Bugfixes

  • Ensure bytecode version is configurable and set properly for Move scripts
aptos-core - Aptos Node Release v1.2.3

Published by sherry-x over 1 year ago

See release v1.2.4 as the latest for v1.2 branch.

aptos-core - Hotfix release aptos-node-v1.1.4

Published by perryjrandall over 1 year ago

Hotfix release for v1.1.4

aptos-core - Aptos CLI Release v1.0.4

Published by github-actions[bot] almost 2 years ago

CLI v1.0.4 Release Notes

Changes

  • Adds ability to set transaction expiration time with the --expiration-secs flag, to increase for handling slow connections

Bug fixes

  • Move packages compiled with 1.0.2 & 1.0.3 may have lost the error mapping for errors as they use version 5 bytecode, but without error mapping. This has been fixed and simply need any programs that are missing this mapping to republish the Move package.

Example before:

aptos move run --function-id testnet::message::set_message --args string:hello --profile testnet
{
  "Error": "Simulation failed with status: Move abort in 0x94e2093de044e264a85a50c268a88435c94089cbc05448f1bd17927552f9dfa3::message: 0x1"
}

Example after:

aptos move run --function-id testnet::message::set_message --args string:hello --profile testnet
{
  "Error": "Simulation failed with status: Move abort in 0x94e2093de044e264a85a50c268a88435c94089cbc05448f1bd17927552f9dfa3::message: EOH_NO(0x1): Uh oh spaghetti o's..."
}

About installation

Instructions here: https://aptos.dev/cli-tools/aptos-cli-tool/install-aptos-cli/

  • NEW: For platforms that support brew (MacOS), you can simply run brew install aptos or brew upgrade (this may take some time to update to 1.0.4) thanks @hariria
  • MacOSX-x86_64 will work on both Intel and Apple ARM Macs. Rosetta on macOS provides compatibility for ARM.
  • Ubuntu-22.04-x86_64 is built with Ubuntu 22.04 on x86 and requires OpenSSL v3. It may work on other Linux distros that also use OpenSSL v3, but it is not supported.
  • Ubuntu-x86_64 is built with Ubuntu 20.04 on x86 and requires OpenSSL v1.1.1. It may work on other Linux distros that also use OpenSSL v1.1.1. In testing this has worked on a few other distros e.g. Debian and OpenSUSE
  • Windows-x86_64 is built with Windows Server 2022 on x86. It has also been tested on Windows 10 and Windows 11.
  • Windows & Linux ARM does not have a prebuilt binary and will need to be built from source.
aptos-core - Mainnet hotfix release v1.1.1

Published by perryjrandall almost 2 years ago

This is a security hotfix so the source is not yet released

aptos-core - Aptos CLI Release v1.0.3

Published by github-actions[bot] almost 2 years ago

Fixes a bug in version 1.0.2 that wouldn't allow compilation across different networks. https://github.com/aptos-labs/aptos-core/pull/5900

aptos-core - Aptos CLI Release v1.0.2

Published by github-actions[bot] almost 2 years ago

This new version allows you to bypass the issue found here https://github.com/aptos-labs/aptos-core/issues/5867 where there is an error for an unbound module. Additionally it adds the following features:

  • Adds ability to automatically always bypass with the same behavior instead of prompting. Thanks @fzgem18 for this contribution!
  • Adds the ability for new Move test syntax that keeps track of the location for error assertions
  • Cleans up CLI errors from the API during simulation
aptos-core - aptos-node-v1.1.0

Published by perryjrandall almost 2 years ago

Released a new version to Mainnet:

Framework upgrade through governance voting:

Testnet upgrade - Nov 30th
Mainnet upgrade - Dec 12th - 19th (7 days voting period)
New features and enhancements:

Move
New chain_id native function + corresponding new gas schedule entry.
Blockchain
Added automatic chain-health based back pressure to improve reliability. Automatic slow-down (through max block size reduction) is triggered in some scenarios.
Improved timeouts for state synchronization: (i) lower timeouts for optimistic fetch (to help reduce end-to-end latency); and (ii) exponential back-off for low-bandwidth nodes.
Resolved issues:

Move
Explicit error codes in resource account.
Improved Leader Election (gated behind feature flag).
See these resources for more details on the release:

#mainnet-release Discord channel for more detailed descriptions of the above changes.
Aptos Releases list for all releases.
testnet branch commits for the changes landing in mainnet today.

What's Changed

New Contributors

Full Changelog: https://github.com/aptos-labs/aptos-core/compare/aptos-node-testnet_80d7b03c630e0066bc12e2a3ba6f3546542bbb8c...aptos-node-v1.1.0

aptos-core - Mainnet release 80d7b03c630e0066bc12e2a3ba6f3546542bbb8c

Published by perryjrandall almost 2 years ago

Mainnet release 80d7b03c630e0066bc12e2a3ba6f3546542bbb8c

The source does not match the binaries please do not build from source

aptos-core - Mainnet release 770629bd74fa96bd940ebf356b4c9f590830488c

Published by perryjrandall almost 2 years ago

Mainnet release 770629bd74fa96bd940ebf356b4c9f590830488c

This is a security hotfix so the source is not public, please do not use the source attached to this release, it does not contain the fix!