Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ BLS_CANCUN := blsdata/cancun
BLS_PRAGUE := blsdata/prague

CONSTANTS := constants/constants.lisp
CONSTANTS_LONDON := constants/london/constants.lisp
CONSTANTS_CANCUN := constants/cancun/constants.lisp
CONSTANTS_PRAGUE := constants/prague/constants.lisp
CONSTANTS_LONDON := constants/london/constants.zkasm
CONSTANTS_CANCUN := constants/cancun/constants.zkasm
CONSTANTS_PRAGUE := constants/prague/constants.zkasm

EC_DATA := ecdata

Expand Down Expand Up @@ -87,7 +87,7 @@ TABLES_LONDON := reftables/*.lisp reftables/london/*.lisp
TABLES_CANCUN := reftables/*.lisp reftables/cancun/*.lisp
TABLES_PRAGUE := reftables/*.lisp reftables/prague/*.lisp

TRM := trm
TRM := trm/trm.zkasm

TXN_DATA_LONDON := txndata/london
TXN_DATA_SHANGHAI := txndata/shanghai
Expand Down
8 changes: 0 additions & 8 deletions constants/cancun/constants.lisp

This file was deleted.

1 change: 1 addition & 0 deletions constants/cancun/constants.zkasm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
const MAX_PRC_ADDRESS = 0x0a
8 changes: 0 additions & 8 deletions constants/london/constants.lisp

This file was deleted.

1 change: 1 addition & 0 deletions constants/london/constants.zkasm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
const MAX_PRC_ADDRESS = 0x09
8 changes: 0 additions & 8 deletions constants/prague/constants.lisp

This file was deleted.

1 change: 1 addition & 0 deletions constants/prague/constants.zkasm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
const MAX_PRC_ADDRESS = 0x11
8 changes: 3 additions & 5 deletions hub/cancun/lookups/hub_into_trm.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,16 @@
(defclookup hub-into-trm
;; target columns
(
trm.TRM_ADDRESS_HI
trm.RAW_ADDRESS_HI
trm.RAW_ADDRESS_LO
trm.RAW_ADDRESS
trm.ADDRESS_HI
trm.IS_PRECOMPILE
)
;; source selector
(hub-into-trm-trigger)
;; source columns
(
(:: hub.account/TRM_RAW_ADDRESS_HI hub.account/ADDRESS_LO)
hub.account/ADDRESS_HI
hub.account/TRM_RAW_ADDRESS_HI
hub.account/ADDRESS_LO
hub.account/IS_PRECOMPILE
)
)
8 changes: 3 additions & 5 deletions hub/london/lookups/hub_into_trm.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,16 @@
(defclookup hub-into-trm
;; target columns
(
trm.TRM_ADDRESS_HI
trm.RAW_ADDRESS_HI
trm.RAW_ADDRESS_LO
trm.RAW_ADDRESS
trm.ADDRESS_HI
trm.IS_PRECOMPILE
)
;; source selector
(hub-into-trm-trigger)
;; source columns
(
(:: hub.account/TRM_RAW_ADDRESS_HI hub.account/ADDRESS_LO)
hub.account/ADDRESS_HI
hub.account/TRM_RAW_ADDRESS_HI
hub.account/ADDRESS_LO
hub.account/IS_PRECOMPILE
)
)
8 changes: 3 additions & 5 deletions hub/prague/lookups/hub_into_trm.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,16 @@
(defclookup hub-into-trm
;; target columns
(
trm.TRM_ADDRESS_HI
trm.RAW_ADDRESS_HI
trm.RAW_ADDRESS_LO
trm.RAW_ADDRESS
trm.ADDRESS_HI
trm.IS_PRECOMPILE
)
;; source selector
(hub-into-trm-trigger)
;; source columns
(
(:: hub.account/TRM_RAW_ADDRESS_HI hub.account/ADDRESS_LO)
hub.account/ADDRESS_HI
hub.account/TRM_RAW_ADDRESS_HI
hub.account/ADDRESS_LO
hub.account/IS_PRECOMPILE
)
)
8 changes: 3 additions & 5 deletions hub/shanghai/lookups/hub_into_trm.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,16 @@
(defclookup hub-into-trm
;; target columns
(
trm.TRM_ADDRESS_HI
trm.RAW_ADDRESS_HI
trm.RAW_ADDRESS_LO
trm.RAW_ADDRESS
trm.ADDRESS_HI
trm.IS_PRECOMPILE
)
;; source selector
(hub-into-trm-trigger)
;; source columns
(
(:: hub.account/TRM_RAW_ADDRESS_HI hub.account/ADDRESS_LO)
hub.account/ADDRESS_HI
hub.account/TRM_RAW_ADDRESS_HI
hub.account/ADDRESS_LO
hub.account/IS_PRECOMPILE
)
)
8 changes: 3 additions & 5 deletions rlpaddr/lookups/rlpaddr_into_trm.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
rlpaddr-into-trm
;reference columns
(
trm.RAW_ADDRESS_HI
trm.TRM_ADDRESS_HI
trm.RAW_ADDRESS_LO
trm.RAW_ADDRESS
trm.ADDRESS_HI
)
;source columns
(
rlpaddr.RAW_ADDR_HI
(:: rlpaddr.RAW_ADDR_HI rlpaddr.DEP_ADDR_LO)
rlpaddr.DEP_ADDR_HI
rlpaddr.DEP_ADDR_LO
))


10 changes: 4 additions & 6 deletions rlptxn/cancun/lookups/rlptxn_into_trm.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@
(rlptxn-into-trm :unchecked)
;; target columns
(
trm.IOMF
trm.TRM_ADDRESS_HI
trm.RAW_ADDRESS_LO
trm.RAW_ADDRESS
trm.ADDRESS_HI
)
;; source selector
(sel-rlptxn-to-trm)
;; source columns
(
1
rlptxn.cmp/EXO_DATA_1
rlptxn.cmp/EXO_DATA_2
(:: rlptxn.cmp/EXO_DATA_1 rlptxn.cmp/EXO_DATA_2)
rlptxn.cmp/EXO_DATA_1
))
17 changes: 0 additions & 17 deletions trm/columns.lisp

This file was deleted.

10 changes: 0 additions & 10 deletions trm/constants.lisp

This file was deleted.

136 changes: 0 additions & 136 deletions trm/constraints.lisp

This file was deleted.

20 changes: 0 additions & 20 deletions trm/lookups/trm_into_wcp.lisp

This file was deleted.

Loading
Loading