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: add cases of rfc0029 #8

Merged
merged 1 commit into from
Sep 8, 2021
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
4 changes: 3 additions & 1 deletion ckb-integration-test/src/case/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
mod basic;
mod case_options;
mod rfc0029;
mod rfc0030;
mod rfc0031;
mod rfc0036;
Expand All @@ -8,7 +9,7 @@ mod rfc0222;
mod rfc0223;
mod rfc0224;
mod rfc0234;
mod rfc0240; // https://github.com/nervosnetwork/rfcs/pull/224
mod rfc0240;

pub use case_options::CaseOptions;
use ckb_testkit::{Node, Nodes};
Expand All @@ -30,6 +31,7 @@ pub fn all_cases() -> Vec<Box<dyn Case>> {
Box::new(rfc0234::discovery::RFC0234AfterSwitchDiscovery),
Box::new(rfc0240::before_switch::RFC0240BeforeSwitch),
Box::new(rfc0240::after_switch::RFC0240AfterSwitch),
Box::new(rfc0029::rfc0029::RFC0029),
Box::new(rfc0030::rfc0030::RFC0030),
Box::new(rfc0031::rfc0031::RFC0031),
Box::new(rfc0036::rfc0036::RFC0036),
Expand Down
5 changes: 5 additions & 0 deletions ckb-integration-test/src/case/rfc0029/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pub(super) mod rfc0029;

const RFC0029_EPOCH_NUMBER: ckb_types::core::EpochNumber = 3;
const ERROR_MULTIPLE_MATCHES: &str = "MultipleMatches";
const ERROR_DUPLICATE_CELL_DEPS: &str = "DuplicateCellDeps";
Loading