Skip to content

Commit be0b1af

Browse files
authored
Merge pull request #117 from input-output-hk/Metalamp/nft-marketplace/update-pab-to-2021-11-05
Metalamp/nft-marketplace/update-plutus-app-to-2021-11-05
2 parents a9f2be9 + 8fc6387 commit be0b1af

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+146
-10781
lines changed

.devcontainer/ devcontainer.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "Plutus Starter Project",
3+
"image": "docker.io/inputoutput/plutus-starter-devcontainer:v1.0.14",
4+
5+
"remoteUser": "plutus",
6+
7+
"mounts": [
8+
// This shares cabal's remote repository state with the host. We don't mount the whole of '.cabal', because
9+
// 1. '.cabal/config' contains absolute paths that will only make sense on the host, and
10+
// 2. '.cabal/store' is not necessarily portable to different version of cabal etc.
11+
"source=${localEnv:HOME}/.cabal/packages,target=/home/plutus/.cabal/packages,type=bind,consistency=cached",
12+
],
13+
14+
"settings": {
15+
// Note: don't change from bash so it runs .bashrc
16+
"terminal.integrated.shell.linux": "/bin/bash"
17+
},
18+
19+
// IDs of extensions inside container
20+
"extensions": [
21+
"haskell.haskell"
22+
],
23+
}

MetaLamp/nft-marketplace/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
fmt:
22
fix-stylish-haskell
3-
fix-purty

MetaLamp/nft-marketplace/cabal.project

Lines changed: 73 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,29 @@ write-ghc-environment-files: never
99
tests: true
1010
benchmarks: true
1111

12-
-- Plutus revision from 2021/08/16
12+
-- Plutus revision from 2021/11/05
1313
source-repository-package
1414
type: git
15-
location: https://github.com/input-output-hk/plutus.git
15+
location: https://github.com/input-output-hk/plutus-apps.git
1616
subdir:
17+
doc
1718
freer-extras
1819
playground-common
19-
plutus-core
20-
plutus-contract
2120
plutus-chain-index
21+
plutus-chain-index-core
22+
plutus-contract
2223
plutus-ledger
23-
plutus-ledger-api
24-
plutus-tx
25-
plutus-tx-plugin
2624
plutus-pab
25+
plutus-playground-server
2726
plutus-use-cases
28-
prettyprinter-configurable
2927
quickcheck-dynamic
30-
word-array
31-
tag: plutus-pab/v0.0.2
28+
web-ghc
29+
tag: v2021-11-05
3230

3331

34-
-- The following sections are copied from the 'plutus' repository cabal.project at the revision
32+
-- The following sections are copied from the 'plutus-apps' repository cabal.project at the revision
3533
-- given above.
36-
-- This is necessary because the 'plutus' libraries depend on a number of other libraries which are
34+
-- This is necessary because the 'plutus-apps' libraries depend on a number of other libraries which are
3735
-- not on Hackage, and so need to be pulled in as `source-repository-package`s themselves. Make sure to
3836
-- re-update this section from the template when you do an upgrade.
3937

@@ -48,14 +46,15 @@ benchmarks: true
4846
test-show-details: streaming
4947

5048
allow-newer:
51-
-- Pins to an old version of Template Haskell, unclear if/when it will be updated
49+
-- Copied from plutus-core
5250
size-based:template-haskell
5351
, ouroboros-consensus-byron:formatting
5452
, beam-core:aeson
5553
, beam-sqlite:aeson
5654
, beam-sqlite:dlist
5755
, beam-migrate:aeson
5856

57+
-- Copied from plutus-core
5958
constraints:
6059
-- big breaking change here, inline-r doens't have an upper bound
6160
singletons < 3.0
@@ -64,10 +63,6 @@ constraints:
6463
-- constraint from dependent-sum-template (which is the library we actually use).
6564
, dependent-sum > 0.6.2.0
6665

67-
-- See the note on nix/pkgs/default.nix:agdaPackages for why this is here.
68-
-- (NOTE this will change to ieee754 in newer versions of nixpkgs).
69-
extra-packages: ieee, filemanip
70-
7166
-- These packages appear in our dependency tree and are very slow to build.
7267
-- Empirically, turning off optimization shaves off ~50% build time.
7368
-- It also mildly improves recompilation avoidance.
@@ -81,33 +76,34 @@ package ouroboros-consensus-cardano
8176
package cardano-api
8277
optimization: False
8378

84-
-- https://github.com/Quid2/flat/pull/22 fixes a potential exception
85-
-- when decoding invalid (e.g. malicious) text literals.
79+
-- Copied from plutus-core
8680
source-repository-package
8781
type: git
8882
location: https://github.com/Quid2/flat.git
8983
tag: ee59880f47ab835dbd73bea0847dab7869fc20d8
9084

91-
-- Needs some patches, but upstream seems to be fairly dead (no activity in > 1 year)
85+
-- TODO replace with something more sustainable (and maintained)
9286
source-repository-package
9387
type: git
9488
location: https://github.com/input-output-hk/purescript-bridge.git
95-
tag: 6a92d7853ea514be8b70bab5e72077bf5a510596
89+
tag: 366fc70b341e2633f3ad0158a577d52e1cd2b138
9690

9791
source-repository-package
9892
type: git
9993
location: https://github.com/input-output-hk/servant-purescript.git
100-
tag: a0c7c7e37c95564061247461aef4be505a853538
94+
tag: ebea59c7bdfc0338d83fca772b9a57e28560bcde
10195

96+
-- Copied from plutus-core
10297
source-repository-package
10398
type: git
10499
location: https://github.com/input-output-hk/cardano-crypto.git
105100
tag: 07397f0e50da97eaa0575d93bee7ac4b2b2576ec
106101

102+
-- Copied from plutus-core
107103
source-repository-package
108104
type: git
109105
location: https://github.com/input-output-hk/cardano-base
110-
tag: 592aa61d657ad5935a33bace1243abce3728b643
106+
tag: 4ea7e2d927c9a7f78ddc69738409a5827ab66b98
111107
subdir:
112108
base-deriving-via
113109
binary
@@ -120,6 +116,7 @@ source-repository-package
120116
slotting
121117
strict-containers
122118

119+
-- Copied from plutus-core
123120
source-repository-package
124121
type: git
125122
location: https://github.com/input-output-hk/cardano-prelude
@@ -134,25 +131,31 @@ source-repository-package
134131
tag: d2f86caa085402a953920c6714a0de6a50b655ec
135132
subdir:
136133
core
134+
command-line
137135

138136
source-repository-package
139137
type: git
140-
location: https://github.com/input-output-hk/cardano-wallet
141-
tag: ae7569293e94241ef6829139ec02bd91abd069df
138+
location: https://github.com/j-mueller/cardano-wallet
139+
tag: 6be73ab852c0592713dfe78218856d4a8a0ee69e
142140
subdir:
143141
lib/text-class
144142
lib/strict-non-empty-containers
145143
lib/core
146144
lib/test-utils
147145
lib/numeric
146+
lib/launcher
147+
lib/core-integration
148+
lib/cli
149+
lib/shelley
148150

149151
source-repository-package
150152
type: git
151153
location: https://github.com/input-output-hk/ouroboros-network
152-
tag: 5d37a927046bc7da2887830d8e35cf604622ce09
154+
tag: 1f4973f36f689d6da75b5d351fb124d66ef1057d
153155
subdir:
154156
monoidal-synchronisation
155157
typed-protocols
158+
typed-protocols-cborg
156159
typed-protocols-examples
157160
ouroboros-network
158161
ouroboros-network-testing
@@ -169,7 +172,17 @@ source-repository-package
169172
source-repository-package
170173
type: git
171174
location: https://github.com/input-output-hk/iohk-monitoring-framework
175+
-- Important Note: Read below, before changing this!
172176
tag: 46f994e216a1f8b36fe4669b47b2a7011b0e153c
177+
-- Are you thinking of updating this tag to some other commit? Please
178+
-- ensure that the commit you are about to use is the latest one from
179+
-- the *develop* branch of this repo:
180+
-- * <https://github.com/input-output-hk/iohk-monitoring-framework/commits/develop>
181+
-- (not master!)
182+
--
183+
-- In particular we rely on the code from this PR:
184+
-- * <https://github.com/input-output-hk/iohk-monitoring-framework/pull/622>
185+
-- being merged.
173186
subdir:
174187
iohk-monitoring
175188
tracer-transformers
@@ -182,32 +195,35 @@ source-repository-package
182195

183196
source-repository-package
184197
type: git
185-
location: https://github.com/raduom/cardano-ledger-specs
186-
tag: ef6bb99782d61316da55470620c7da994cc352b2
198+
location: https://github.com/input-output-hk/cardano-ledger-specs
199+
tag: bf008ce028751cae9fb0b53c3bef20f07c06e333
187200
subdir:
188-
byron/chain/executable-spec
189-
byron/crypto
190-
byron/crypto/test
191-
byron/ledger/executable-spec
192201
byron/ledger/impl
193-
byron/ledger/impl/test
194-
semantics/executable-spec
202+
cardano-ledger-core
195203
cardano-protocol-tpraos
196-
semantics/small-steps-test
197-
shelley/chain-and-ledger/dependencies/non-integer
198-
shelley/chain-and-ledger/executable-spec
204+
eras/alonzo/impl
205+
eras/byron/chain/executable-spec
206+
eras/byron/crypto
207+
eras/byron/crypto/test
208+
eras/byron/ledger/executable-spec
209+
eras/byron/ledger/impl/test
210+
eras/shelley/impl
211+
eras/shelley-ma/impl
212+
eras/shelley/chain-and-ledger/executable-spec
213+
eras/shelley/test-suite
199214
shelley/chain-and-ledger/shelley-spec-ledger-test
200-
shelley-ma/impl
201-
cardano-ledger-core
202-
alonzo/impl
215+
libs/non-integral
216+
libs/small-steps
217+
libs/cardano-ledger-pretty
218+
semantics/small-steps-test
203219

204-
-- A lot of plutus dependencies have to be synchronized with the dependencies of
220+
-- A lot of plutus-apps dependencies have to be synchronized with the dependencies of
205221
-- cardano-node. If you update cardano-node, please make sure that all dependencies
206222
-- of cardano-node are also updated.
207223
source-repository-package
208224
type: git
209225
location: https://github.com/input-output-hk/cardano-node.git
210-
tag: ed7fdbf65f40f8e194850b87dd8c631fe26154e6
226+
tag: b6ca519f97a0e795611a63174687e6bb70c9f752
211227
subdir:
212228
cardano-api
213229
cardano-node
@@ -226,10 +242,21 @@ source-repository-package
226242

227243
source-repository-package
228244
type: git
229-
location: https://github.com/input-output-hk/hedgehog-extras
230-
tag: edf6945007177a638fbeb8802397f3a6f4e47c14
245+
location: https://github.com/input-output-hk/goblins
246+
tag: cde90a2b27f79187ca8310b6549331e59595e7ba
231247

248+
-- A lot of plutus-apps dependencies have to be syncronized with the dependencies of
249+
-- plutus. If you update plutus, please make sure that all dependencies of plutus
250+
-- are also updated
232251
source-repository-package
233252
type: git
234-
location: https://github.com/input-output-hk/goblins
235-
tag: cde90a2b27f79187ca8310b6549331e59595e7ba
253+
location: https://github.com/input-output-hk/plutus
254+
tag: 3f089ccf0ca746b399c99afe51e063b0640af547
255+
subdir:
256+
plutus-core
257+
plutus-ledger-api
258+
plutus-tx
259+
plutus-tx-plugin
260+
word-array
261+
prettyprinter-configurable
262+
stubs/plutus-ghc-stub

MetaLamp/nft-marketplace/client/.gitignore

Lines changed: 0 additions & 16 deletions
This file was deleted.

MetaLamp/nft-marketplace/client/README.md

Lines changed: 0 additions & 46 deletions
This file was deleted.

MetaLamp/nft-marketplace/client/entry.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)