Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(v2-eos-cores): <- allow those to work with multi incremerkles #16

Merged
merged 40 commits into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
2e8da03
ref(eos): <- rename incremerkle mod for clarity
gskapka Jan 4, 2024
79fab49
ref(eos): lock down public facing api of incremerkles
gskapka Jan 4, 2024
d0b3ee0
feat(eos): <- convert merkle proof validation to use `Checksum256` types
gskapka Jan 4, 2024
512a26e
ref(eos): <- impl merkle related methods on `Incremerkle` struct
gskapka Jan 4, 2024
655bf10
feat(eos): <- move incremerkle db utils to `Incremerkle` struct
gskapka Jan 4, 2024
e2168f9
feat(eos): <- rm `IncremerkleJson` entirely and serde the `Incremerkl…
gskapka Jan 4, 2024
aee2046
feat(eos): <- adds `Incremerkles` basic structure & db methods
gskapka Jan 4, 2024
cb6d6d1
feat(eos): <- make `MerkleProof` mod for verifying proofs
gskapka Jan 5, 2024
aa18026
ref(eos): <- rm now unused mod
gskapka Jan 5, 2024
1962f91
ref(eos): <- adds note to explain the reason for multiple incremerkles
gskapka Jan 5, 2024
d8ad3ea
feat(eos): <- update core initialization and debug fxn to use new `In…
gskapka Jan 5, 2024
b6471dc
feat(eos): <- use `Incremerkles` method to get those into state
gskapka Jan 8, 2024
8747160
fix(eos-debug-fxns): <- update the debug incremerkle updater to work …
gskapka Jan 8, 2024
1db46c2
feat(eos): <- move block id appending to be a `Incremerkles` method
gskapka Jan 8, 2024
b77a108
feat(eos): factor apart index finder & incremerkle getter in `Increme…
gskapka Jan 8, 2024
eff0589
feat(eos): <- use correct incremerkle for valdating signatures
gskapka Jan 8, 2024
8c50fd3
feat(eos): <- adds latest block id getter to `Incremerkles`
gskapka Jan 8, 2024
07c461d
ref(eos): <- rm now useless block id & num savers
gskapka Jan 8, 2024
84016e4
feat(eos): use `Incremerkles` to get enclave state stuff
gskapka Jan 9, 2024
41227cc
ref(eos): <- rm unused fxns from `Incremerkles` in that
gskapka Jan 9, 2024
213fb99
feat(eos-on-int): <- update that to work w/ multiple incremerkles
gskapka Jan 9, 2024
7c5ec84
feat(int-on-eos): <- update that to work w/ multiple incremerkles
gskapka Jan 9, 2024
4736f53
fix(eos): <- use incremerkles in initter & decode enabled protocol fe…
gskapka Jan 12, 2024
f1b792a
feat(eos): <- impl `FromStr` for eos init json
gskapka Jan 30, 2024
d8cb806
feat(eos): <- updates incremerkles and adds tests
gskapka Jan 31, 2024
7274339
feat(int-on-eos): <- adds test for prev block submissions
gskapka Jan 31, 2024
54043a4
feat(eos-on-int): <- adds test for prev block submissions
gskapka Jan 31, 2024
140a783
chore(Cargo): <- bump major version numbers for v2 eos related cores
gskapka Jan 31, 2024
8bf81e7
chore(scrips): <- rm now redundant rebase checking script
gskapka Jan 31, 2024
93ae1cd
chore(scripts): <- rm fee-disable tests since they were relevant to v…
gskapka Jan 31, 2024
9192257
chore(scripts): <- update validation disabled tests to remove depcrat…
gskapka Jan 31, 2024
bdefa14
chore(scripts): <- update ltc testing script to remove deprecated v1 …
gskapka Jan 31, 2024
6474dc4
chore(workspace): <- deprecate all v1 crates
gskapka Jan 31, 2024
2790a86
feat(eos-v2-cores): <- adds assertion that global sequence reprocessi…
gskapka Feb 13, 2024
b0caa91
fix(eos): <- correct comments/typos in that
gskapka Feb 14, 2024
19ecdb6
chore(common): <- bump bug fix version number in that
gskapka Feb 14, 2024
2cc2bd8
fix(eos): <- show error when parsing v2 producer schedules
gskapka Feb 16, 2024
e9c4bc0
feat(eos): <- use a default pub key in place of older keys that are n…
gskapka Feb 16, 2024
e88a54f
feat(eos): <- skip validation when encountering default producer key …
gskapka Feb 16, 2024
3d427e0
fix(eos): <- use internal key parsing with defaults when creating pro…
gskapka Feb 16, 2024
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
232 changes: 4 additions & 228 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 14 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,33 +19,37 @@ members = [
"common/safe_addresses",
"common/ethereum_debug",
"v2_bridges/btc_on_int",
"v1_bridges/btc_on_eos",
"v1_bridges/btc_on_eth",
"v1_bridges/eos_on_eth",
"v2_bridges/int_on_eos",
"v2_bridges/int_on_evm",
"v2_bridges/eos_on_int",
"v2_bridges/int_on_algo",
"common/jsonrpc_database",
"common/rocksdb_database",
"v1_bridges/erc20_on_evm",
"v1_bridges/erc20_on_eos",
"v2_bridges/erc20_on_int",
"v3_bridges/sentinel-app",
"v3_bridges/sentinel-strongbox",
"v2_bridges/vanilla_apps/pint-on-evm",
"v1_bridges/vanilla_apps/pbtc-on-eos",
"v1_bridges/vanilla_apps/pbtc-on-eth",
"v1_bridges/vanilla_apps/peos-on-eth",
"v2_bridges/vanilla_apps/pbtc-on-int",
"v2_bridges/vanilla_apps/peos-on-int",
"v2_bridges/vanilla_apps/pint-on-eos",
"v2_bridges/vanilla_apps/pint-on-algo",
"v2_bridges/vanilla_apps/perc20-on-int",
"v1_bridges/vanilla_apps/perc20-on-eos",
"v1_bridges/vanilla_apps/perc20-on-evm",
]

# NOTE: These crates are all now deprecated, an no longer build. The latest release with which they still compile is:
# https://github.com/pnetwork-association/ptokens-core/releases/tag/v2024.01.24
# Their code remains herein (for now) for posterity.
# "v1_bridges/btc_on_eos",
# "v1_bridges/btc_on_eth",
# "v1_bridges/eos_on_eth",
# "v1_bridges/erc20_on_evm",
# "v1_bridges/erc20_on_eos",
# "v1_bridges/vanilla_apps/pbtc-on-eos",
# "v1_bridges/vanilla_apps/pbtc-on-eth",
# "v1_bridges/vanilla_apps/peos-on-eth",
# "v1_bridges/vanilla_apps/perc20-on-eos",
# "v1_bridges/vanilla_apps/perc20-on-evm",

[profile.dev]
split-debuginfo = "unpacked"

Expand Down
1 change: 1 addition & 0 deletions common/eos/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ lazy_static = { workspace = true }
derive_more = { workspace = true }
tiny-keccak = { workspace = true }
function_name = { workspace = true }
ethereum-types = { workspace = true }
bitcoin = { workspace = true, optional = true }
litecoin = { workspace = true, optional = true }

Expand Down
20 changes: 0 additions & 20 deletions common/eos/src/append_interim_block_ids.rs

This file was deleted.

Loading
Loading