mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-11 05:14:41 +00:00
2ace339975
* Use Monero-compatible additional TX keys This still sends a fingerprinting flare up if you send to a subaddress which needs to be fixed. Despite that, Monero no should no longer fail to scan TXs from monero-serai regarding additional keys. Previously it failed becuase we supplied one key as THE key, and n-1 as additional. Monero expects n for additional. This does correctly select when to use THE key versus when to use the additional key when sending. That removes the ability for recipients to fingerprint monero-serai by receiving to a standard address yet needing to use an additional key. * Add tokens_primitives Moves OutInstruction from in-instructions. Turns Destination into OutInstruction. * Correct in-instructions DispatchClass * Add initial tokens pallet * Don't allow pallet addresses to equal identity * Add support for InInstruction::transfer Requires a cargo update due to modifications made to serai-dex/substrate. Successfully mints a token to a SeraiAddress. * Bind InInstructions to an amount * Add a call filter to the runtime Prevents worrying about calls to the assets pallet/generally tightens things up. * Restore Destination It was meged into OutInstruction, yet it didn't make sense for OutInstruction to contain a SeraiAddress. Also deletes the excessively dated Scenarios doc. * Split PublicKey/SeraiAddress Lets us define a custom Display/ToString for SeraiAddress. Also resolves an oddity where PublicKey would be encoded as String, not [u8; 32]. * Test burning tokens/retrieving OutInstructions Modularizes processor_coinUpdates into a shared testing utility. * Misc lint * Don't use PolkadotExtrinsicParams
87 lines
2 KiB
TOML
87 lines
2 KiB
TOML
[advisories]
|
|
db-path = "~/.cargo/advisory-db"
|
|
db-urls = ["https://github.com/rustsec/advisory-db"]
|
|
|
|
vulnerability = "deny"
|
|
yanked = "deny"
|
|
notice = "warn"
|
|
unmaintained = "warn"
|
|
|
|
ignore = [
|
|
"RUSTSEC-2020-0071", # https://github.com/chronotope/chrono/issues/602
|
|
"RUSTSEC-2021-0139", # https://github.com/serai-dex/serai/228
|
|
"RUSTSEC-2021-0145", # https://github.com/serai-dex/serai/225
|
|
"RUSTSEC-2022-0061", # https://github.com/serai-dex/serai/227
|
|
"RUSTSEC-2022-0075", # https://github.com/serai-dex/serai/226
|
|
"RUSTSEC-2022-0076", # https://github.com/serai-dex/serai/226
|
|
]
|
|
|
|
[licenses]
|
|
unlicensed = "deny"
|
|
|
|
allow = [
|
|
# Effective public domain
|
|
"CC0-1.0",
|
|
"Unlicense",
|
|
|
|
# Attribution required
|
|
"MIT",
|
|
"BSD-2-Clause",
|
|
"BSD-3-Clause",
|
|
"ISC",
|
|
"Unicode-DFS-2016",
|
|
"OpenSSL",
|
|
|
|
# Non-invasive copyleft
|
|
"MPL-2.0",
|
|
"Apache-2.0",
|
|
"Apache-2.0 WITH LLVM-exception",
|
|
"GPL-3.0 WITH Classpath-exception-2.0",
|
|
]
|
|
|
|
copyleft = "deny"
|
|
allow-osi-fsf-free = "neither"
|
|
default = "deny"
|
|
|
|
exceptions = [
|
|
{ allow = ["AGPL-3.0"], name = "ethereum-serai" },
|
|
|
|
{ allow = ["AGPL-3.0"], name = "serai-processor" },
|
|
|
|
{ allow = ["AGPL-3.0"], name = "tokens-pallet" },
|
|
|
|
{ allow = ["AGPL-3.0"], name = "in-instructions-pallet" },
|
|
{ allow = ["AGPL-3.0"], name = "in-instructions-client" },
|
|
|
|
{ allow = ["AGPL-3.0"], name = "validator-sets-pallet" },
|
|
|
|
{ allow = ["AGPL-3.0"], name = "sp-tendermint" },
|
|
{ allow = ["AGPL-3.0"], name = "pallet-tendermint" },
|
|
{ allow = ["AGPL-3.0"], name = "sc-tendermint" },
|
|
|
|
{ allow = ["AGPL-3.0"], name = "serai-runtime" },
|
|
{ allow = ["AGPL-3.0"], name = "serai-node" },
|
|
|
|
{ allow = ["AGPL-3.0"], name = "serai-client" },
|
|
]
|
|
|
|
[[licenses.clarify]]
|
|
name = "ring"
|
|
version = "*"
|
|
expression = "MIT AND ISC AND OpenSSL"
|
|
license-files = [
|
|
{ path = "LICENSE", hash = 0xbd0eed23 }
|
|
]
|
|
|
|
[bans]
|
|
multiple-versions = "warn"
|
|
wildcards = "warn"
|
|
highlight = "all"
|
|
|
|
[sources]
|
|
unknown-registry = "deny"
|
|
unknown-git = "deny"
|
|
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
|
|
allow-git = [
|
|
"https://github.com/serai-dex/substrate",
|
|
]
|