Opening Your Heart to More

The path to opening your heart includes telling the truth to yourself and others. So often, for those of us with tender spirits, this kind of opening up is painful. When communicating with the world…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Starknet Alpha 0.7.0

Spoiler — massive version alert!

We are happy to release Alpha 0.7.0, a version packed with new features and improvements. One of the best stimulants to Starknet over the last few months has been the increased involvement of the community in shaping Starknet’s future. This version addresses some of the community’s burning needs.

The observant reader might have noticed that the previous Starknet Alpha release was named Alpha 4, whereas we are now releasing Alpha 0.7.0. We decided to omit the dedicated Alpha version number and rely instead only on the associated cairo-lang version.

Alpha 0.7.0 adds two new system calls that many devs have been asking for. These calls allow a contract to access the block number and the block timestamp. The block number returns the number of the current executed block. The block timestamp returns the timestamp given by the Sequencer at the creation of the block.

Surprise! A feature that was planned for a future version has sneaked its way into this earlier one.

For example, the following contract will be changed from:

To this:

Multicall is a powerful feature of Account Abstraction that allows an account to make multiple calls in a single transaction. An obvious use-case is that of creating a single transaction that calls allowance and then transferFrom.

We look forward to seeing what the community does with it.

Support for Pending Blocks

Support for Account Contracts

Alpha 0.7.0 introduces the Postman. The Postman enables developers to use the testing framework to test more complicated flows.

At a high level — it mocks the Starknet Sequencer’s responsibility of passing messages from L1 to L2 and L2 to L1. It makes sure messages that are sent via the Solidity messaging contract will appear at the destination Starknet contract and messages sent from a Starknet contract will appear in the Solidity messaging contract.

Add a comment

Related posts:

The challenges of the European Union

Europe will have to deal against many fronts and deal with the internal turmoil of the next crucial elections. But she can still find resources to step up and renovate herself.

The 3 Easiest Ways For Newbies To Start In Affiliate Marketing.

Affiliate marketing is one of the best online business models that you can leverage to grow your passive income and scale your ventures. In an industry where. Beginner. Affiliate marketing is simply…

wishful thinking

there is another thing i wished to tell you but was hesitant and actually still am but anyway here is my shot at openness however awkward that may seem but i dont care you know that right? so…