Closed FaisalAl-Tameemi closed 1 year ago
You can specify "-v" param to get more verbose output.
But direct issue was with outdated devphase ;) for the first glance all is ok (version number), but now @devphase/cli
should be used instead of devphase
.
devphase.config.ts
(it is outdated)devphase: 0.2.2
to @devphase/cli: ^0.2.1
in package.json
However tests are also not compatible with new stack. I will try to create PR for that soon.
Awesome, that did it. Thank you :100:
Glad to see the problem was solved. Thank you, @l00k, for the help!
I have a few questions for @l00k:
devphase.config.ts
? Do you mean the content is outdated, or the config file is deprecated?npx
to execute it? I used to run npx devphase <command...>
in the past.@h4x3rotab those short term solution suggestions.
1. Why do you suggest to delete `devphase.config.ts`? Do you mean the content is outdated, or the config file is deprecated?
In this case config file was outdated. Most of fields were just in default state so I don't think it is reasonable to leave them here. I think we should leave only fields where really "configure" something. The rest should be removed and only mentioned (described on
devphase
site)2. Do you suggest to install devphase globally or use `npx` to execute it? I used to run `npx devphase <command...>` in the past.
@devphase/cli
could be used as global package. As long as user use both devphase and Phala binaries from latest release there is no need to include this package in dependencies. In some cases devphase and Phala binaries may not work properly (old release) but those are edge cases. I personally prefer to include such things in projectpackage.json
but that is only my preference.
Running
yarn devphase contract test
within the./phat
repo fails with the following log:Specs:
22.04 LTS
16.20
1.22.19
./phat/package.json
):^0.2.2
./phat/devphase.config.ts
):latest
nightly-2023-02-03
1.69.0-nightly
Added context:
evm_price_feed
contract from the Cargo workspace locally to avoid it building. This was also done for the associated test.yarn devphase contract compile
). Tested by deploying the compiled contracts using PoC5 testnet.Originally posted by @FaisalAl-Tameemi in https://github.com/Phala-Network/phat-offchain-rollup/issues/26#issuecomment-1586240789