Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Disable existing Plutus prototype #3952

Merged
merged 7 commits into from
Dec 15, 2018
Merged

Disable existing Plutus prototype #3952

merged 7 commits into from
Dec 15, 2018

Conversation

erikd
Copy link
Member

@erikd erikd commented Dec 11, 2018

Description

The code base included support for the Plutus prototype, but these were officially only for testing on a test net and that if transactions showed up on mainnet containing smart contract, there would be no guarantees about them. Testing shows that there are no smart contracts in the mainnet chain.

Linked issue

https://iohk.myjetbrains.com/youtrack/issue/CBR-493

QA Steps

Synced the whole mainnet blockchain with this version of the code.

Copy link
Contributor

@intricate intricate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍 Only a minor change I suggested but I'm cool with merging this as is.

chain/test/Test/Pos/Chain/Txp/Arbitrary.hs Outdated Show resolved Hide resolved
txScriptCheck txSigData twValidator twRedeemer
-- The existing blockchain should not have any witnesses of this
-- type, so checking should just fail using the following.
Left $ WitnessScriptVerMismatch (scrVersion twValidator) (scrVersion twRedeemer)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@avieth
Copy link
Contributor

avieth commented Dec 12, 2018

Can we drop plutus-prototype from cabal/stack/nix files? That would be delightful as I wouldn't have to bring it in when building cardano-sl as a dependency for an ouroboros-network application.

@erikd
Copy link
Member Author

erikd commented Dec 13, 2018

@avieth I will have a another attempt at removing plutus-prototype as a dependency.

@erikd erikd force-pushed the erikd/CBR-492 branch 2 times, most recently from 6cf2a2d to a2f1bf3 Compare December 13, 2018 21:58
@erikd
Copy link
Member Author

erikd commented Dec 13, 2018

bors r+

iohk-bors bot added a commit that referenced this pull request Dec 13, 2018
3952: Disable existing Plutus prototype r=erikd a=erikd

## Description

The code base included support for the Plutus prototype, but these were officially only for testing on a test net and that if transactions showed up on mainnet containing smart contract, there would be no guarantees about them. Testing shows that there are no smart contracts in the mainnet chain.

## Linked issue

https://iohk.myjetbrains.com/youtrack/issue/CBR-493


## QA Steps
Synced the whole mainnet blockchain with this version of the code.


3957: Implement Update endpoints for the Node API r=parsonsmatt a=parsonsmatt

## Description

This PR implements the node update endpoints.

## Linked issue

There's a change to the implementation of the API. The decision is covered here:
cardano-foundation/cardano-wallet#151



3963: [DEVOPS-1184] Prevent OSX from building unncessary nix-tools r=disassembler a=disassembler

* Only require nix-tools linux passing for required jobset
* only run cross tests on windows

## Description

<!--- A brief description of this PR and the problem is trying to solve -->

## Linked issue

<!--- Put here the relevant issue from YouTrack -->



Co-authored-by: Erik de Castro Lopo <erikd@mega-nerd.com>
Co-authored-by: parsonsmatt <parsonsmatt@gmail.com>
Co-authored-by: Samuel Leathers <samuel.leathers@iohk.io>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Dec 14, 2018

Timed out (retrying...)

iohk-bors bot added a commit that referenced this pull request Dec 14, 2018
3952: Disable existing Plutus prototype r=erikd a=erikd

## Description

The code base included support for the Plutus prototype, but these were officially only for testing on a test net and that if transactions showed up on mainnet containing smart contract, there would be no guarantees about them. Testing shows that there are no smart contracts in the mainnet chain.

## Linked issue

https://iohk.myjetbrains.com/youtrack/issue/CBR-493


## QA Steps
Synced the whole mainnet blockchain with this version of the code.


3957: Implement Update endpoints for the Node API r=parsonsmatt a=parsonsmatt

## Description

This PR implements the node update endpoints.

## Linked issue

There's a change to the implementation of the API. The decision is covered here:
cardano-foundation/cardano-wallet#151



Co-authored-by: Erik de Castro Lopo <erikd@mega-nerd.com>
Co-authored-by: parsonsmatt <parsonsmatt@gmail.com>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Dec 14, 2018

Canceled (will resume)

@disassembler
Copy link
Contributor

bors r-

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Dec 14, 2018

Canceled

@disassembler
Copy link
Contributor

bors r+ p=10

iohk-bors bot added a commit that referenced this pull request Dec 14, 2018
3952: Disable existing Plutus prototype r=disassembler a=erikd

## Description

The code base included support for the Plutus prototype, but these were officially only for testing on a test net and that if transactions showed up on mainnet containing smart contract, there would be no guarantees about them. Testing shows that there are no smart contracts in the mainnet chain.

## Linked issue

https://iohk.myjetbrains.com/youtrack/issue/CBR-493


## QA Steps
Synced the whole mainnet blockchain with this version of the code.


Co-authored-by: Erik de Castro Lopo <erikd@mega-nerd.com>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Dec 14, 2018

Build failed

The existing version of Plutus was just a prototype and there were
never any guarantees made that scripts using this version of Plutus
would ever be supported. This means the current blockchain should
not have any transactions containing smart contracts (ie Plutus).
These transactions require the Plutus and the current version of
Plutus is not officially supported.
The current version of Plutus is only a prototype and is not
supported for anything other than testing.
The `ScriptWitness` constructor in this code base is no longer
supported.
@disassembler
Copy link
Contributor

bors p=0

@erikd
Copy link
Member Author

erikd commented Dec 15, 2018

bors r+ p=0

iohk-bors bot added a commit that referenced this pull request Dec 15, 2018
3952: Disable existing Plutus prototype r=erikd a=erikd

## Description

The code base included support for the Plutus prototype, but these were officially only for testing on a test net and that if transactions showed up on mainnet containing smart contract, there would be no guarantees about them. Testing shows that there are no smart contracts in the mainnet chain.

## Linked issue

https://iohk.myjetbrains.com/youtrack/issue/CBR-493


## QA Steps
Synced the whole mainnet blockchain with this version of the code.


Co-authored-by: Erik de Castro Lopo <erikd@mega-nerd.com>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Dec 15, 2018

@iohk-bors iohk-bors bot merged commit e4f64cc into develop Dec 15, 2018
@iohk-bors iohk-bors bot deleted the erikd/CBR-492 branch December 15, 2018 04:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants