-
Notifications
You must be signed in to change notification settings - Fork 8
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
Rename create functions to match V2 core #264
Conversation
i think this PR is going to be on hold, since we release a new NPM version @PaulRBerg should we have NPM releases more often which should be marked as "beta" e.g. 1.1.3-b? |
Good point about the NPM version, @andreivladbrg.
Nope. We can simply install V2 Core from GitHub: "@sablier/v2-core": "github:sablier-labs/v2-core#staging" |
correct, forgot that it now works because of the |
Yup. That's how I tested it locally but didn't push it as I wasn't sure how we maintain separate packages for staging and main. |
884ef26
to
8e15c32
Compare
@smol-ninja merged the core PR on regarding the fork tests, you can temporarily deploy the core contracts and comment this line: v2-periphery/test/fork/Fork.t.sol Line 35 in d355029
|
@andreivladbrg Sorry but I didn't get what you meant by this. Do you mean deploying the staging branch on the mainnet? And how does commenting on that line help? |
ah, no no, poor wording on my side we just need to do the same thing as in the v2-periphery/test/integration/Integration.t.sol Lines 39 to 41 in d355029
|
@andreivladbrg can you please have a last look at this and suggest or approve changes? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
just one small miss:
Line 139 in c686264
function expectCallToCreateWithRangeLL(LockupLinear.CreateWithTimestamps memory params) internal { |
* refactor: rename create functions to match v2-core * build: install v2 core from staging branch * test: deploy v2-core dependencies for fork testing * test: update function name --------- Co-authored-by: andreivladbrg <andreivladbrg@gmail.com>
* refactor: rename create functions to match v2-core * build: install v2 core from staging branch * test: deploy v2-core dependencies for fork testing * test: update function name --------- Co-authored-by: andreivladbrg <andreivladbrg@gmail.com>
Closes #263
Requirements for passing ALL tests
v2-periphery/package.json
Line 15 in 0925e93