chips icon indicating copy to clipboard operation
chips copied to clipboard

CHIP-0025: Chialisp Message Conditions

Open danieljperry opened this issue 2 years ago • 12 comments

danieljperry avatar Jan 31 '24 01:01 danieljperry

This CHIP is now a Draft. It introduces a new set of Chialisp conditions to ensure that an exact set of coins is spent together. This CHIP is still in an early stage, where the conditions are described, but not yet implemented in code. Feel free to leave a review here, and follow along as more updates are added to this PR in the coming weeks.

danieljperry avatar Jan 31 '24 02:01 danieljperry

We have made some rather large updates to the message conditions and how they work. There are now only two conditions: one for sending messages, and one for receiving them. They use a six-bit bitmask to communicate the type of message to send/receive. Let us know what you think!

danieljperry avatar Feb 23 '24 01:02 danieljperry

On March 12, we will have a public Zoom call to discuss this CHIP. See the #chips channel in our discord for more details.

danieljperry avatar Feb 28 '24 03:02 danieljperry

This CHIP is being implemented in PR #430 of the chia_rs repository.

danieljperry avatar Mar 12 '24 00:03 danieljperry

lgtm 👌

(I missed the requirement for messages to be consumed before)

trepca avatar Mar 12 '24 15:03 trepca

Please see this Youtube video of our discussion of this CHIP with the community: https://youtu.be/zCuP_mo3Z7s

danieljperry avatar Mar 13 '24 01:03 danieljperry

This CHIP is now in Review. Please make your final reviews soon. Note that the chia-blockchain PR and fork activation height are still pending.

danieljperry avatar Mar 21 '24 02:03 danieljperry

A couple updates for this CHIP:

  1. We have decided to allow all eight bitmask combinations in both mempool mode and in the consensus. Previously we had excluded amount and none from the mempool, but allowed them in the consensus. We are adding these combinations because there are likely legitimate use cases for them, and because it should be less confusing when everything is allowed.
  2. We have set 5 550 000 as the tentative block height for the soft fork.

danieljperry avatar Mar 26 '24 06:03 danieljperry

We have decided to push back the fork point for this CHIP to block 5 650 000.

danieljperry avatar Mar 28 '24 01:03 danieljperry

One minor change -- we changed the name of the fork to soft fork 4. The previous name, soft fork 3, had been used in a different fork. We renamed this fork in order to avoid confusion between the two.

Please get your final reviews in, as this CHIP will be moved to Last Call soon.

danieljperry avatar Mar 29 '24 22:03 danieljperry

We have adjusted the activation height for this CHIP to block 5 716 000.

danieljperry avatar Apr 21 '24 23:04 danieljperry

This CHIP is now in Last Call. If no changes are required for the next two weeks, it will be moved to Final.

danieljperry avatar Apr 30 '24 03:04 danieljperry

This CHIP is now Final. No further changes are allowed. The conditions introduced in this CHIP will become available after the soft fork activates, which is expected to occur around July 31, 2024. The exact block height of the activation is 5 716 000.

danieljperry avatar May 14 '24 00:05 danieljperry