Skip to content

Commit

Permalink
docs: add 2.0 to 2.1 migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Cihelka committed May 23, 2023
1 parent c734773 commit f9e1d8e
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions docs/migration-v2.0-v2.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Migration Guide - V2.0 to V2.1
This version results a very small breaking change in the `datasets.json` file. The `address` field is now parsed as an array/list, so you must enclose it in `[]` brackets. It does not need to contain multiple addresses, one will still work fine.

This change allows one-many mapping between datasets and wallets, as may be the case when ingesting a dataset where the datacap allocation is split across multiple wallets.

To change this, edit the `datasets.json` file:


OLD *~/.delta/importer/datasets.json*
```jsonc
[
{
"dataset": "radiant-ml",
"address": "f1p3l3wgnfukemmaupqecwcoqp7fcgjcqgqcq7rja",
"dir": "/mnt/delta-datasets/radiant-poc",
"ignore": false
}
]
```

Change to:

NEW *~/.delta/importer/datasets.json*
```jsonc
[
{
"dataset": "radiant-ml",
"address": ["f1p3l3wgnfukemmaupqecwcoqp7fcgjcqgqcq7rja"], // <- address is now enclosed in [] brackets
"dir": "/mnt/delta-datasets/radiant-poc",
"ignore": false
}
]
```

0 comments on commit f9e1d8e

Please sign in to comment.