refactor: move everything out of the common folder (#1629)

* remove common/constants (all in models now)

* remove common/txFlags (all in models now)

* move ecdsa from src/common to src

* move errors from src/common to src, export at top level
This commit is contained in:
Mayukha Vadari
2021-09-21 14:25:37 -04:00
parent 94a8c65200
commit 6eec7b0b77
67 changed files with 92 additions and 266 deletions

View File

@@ -4,8 +4,7 @@ import path from 'path'
import { assert } from 'chai'
import { encode } from 'ripple-binary-codec'
import { OfferCreate, Transaction } from 'xrpl-local'
import { ValidationError } from 'xrpl-local/common/errors'
import { OfferCreate, Transaction, ValidationError } from 'xrpl-local'
import {
computeStateTreeHash,