lantianlaoli

Results 20 issues of lantianlaoli

![image](https://github.com/AmazingAng/WTF-Solidity/assets/84974164/1cbe71ff-9abc-40c3-8cab-deba4e26601c) 已经讲合约地址改为部署的地址

以绘制左上部分举例: 注释掉的是原本的代码 我个人理解是按x轴的中心去绘制,然后垂直下滑到y轴的中心点。因为x和y的边长不一样。 但是代码的两个点的y,都看不明白是啥意思。并不是在轴的中心点。 sample: ![boder](https://user-images.githubusercontent.com/84974164/216641535-8f54e622-5b08-4bc8-b197-000554fe189a.png) ``` var path = Path().apply { moveTo(topLef.x, topLef.y) lineTo(topRight.x, topRight.y) lineTo( topRight.x / 2 + topLef.x / 2, // topLef.y + topRight.x / 2...

The information about error above: ```hash TypeError: r is not a function at E:\nextjs_project\promptopia\promptopia\node_modules\next\dist\compiled\next-server\app-route.runtime.dev.js:6:63257 at E:\nextjs_project\promptopia\promptopia\node_modules\next\dist\server\lib\trace\tracer.js:133:36 at NoopContextManager.with (E:\nextjs_project\promptopia\promptopia\node_modules\next\dist\compiled\@opentelemetry\api\index.js:1:7062) at ContextAPI.with (E:\nextjs_project\promptopia\promptopia\node_modules\next\dist\compiled\@opentelemetry\api\index.js:1:518) at NoopTracer.startActiveSpan (E:\nextjs_project\promptopia\promptopia\node_modules\next\dist\compiled\@opentelemetry\api\index.js:1:18093) at ProxyTracer.startActiveSpan (E:\nextjs_project\promptopia\promptopia\node_modules\next\dist\compiled\@opentelemetry\api\index.js:1:18854) at E:\nextjs_project\promptopia\promptopia\node_modules\next\dist\server\lib\trace\tracer.js:122:103...

⨯ ./styles/globals.css:111:5 Syntax error: E:\nextjs_project\promptopia\promptopia\styles\globals.css The `shadow-[inset_10px_-50px_94px_0_rgb(199,` class does not exist. If `shadow-[inset_10px_-50px_94px_0_rgb(199,` is a custom class, make sure it is defined within a `@layer` directive. 109 | 110 |...

just need go to next.config.js file add above content: ``` /** @type {import('next').NextConfig} */ const nextConfig = { images: { remotePatterns: [ { protocol: 'https', hostname: 'avatars.githubusercontent.com', port: '', pathname:...

Correct approach!!! `Math.round(new Date(campaign.deadline) / 1000)` `new Date(campaign.deadline).getTime()`There will be 3 more zeros!!!

``` previous-map.js:4 Uncaught TypeError: Cannot destructure property 'existsSync' of 'require_empty(...)' as it is null. at node_modules/postcss/lib/previous-map.js (previous-map.js:4:7) at __require2 (chunk-GN3OLCG2.js?v=c58f3a24:19:50) at node_modules/postcss/lib/input.js (input.js:10:19) at __require2 (chunk-GN3OLCG2.js?v=c58f3a24:19:50) at input.js:248:1 ```

```C:\Users\16952>anchor Error: Anchor version not set. Please run `avm use latest`. C:\Users\16952>avm Anchor version manager Usage: avm Commands: use Use a specific version of Anchor install Install a version of...

avm
installation error

New parameter `should_fail_on_partial_or_no_fill` added regarding issue#1211. link:https://github.com/drift-labs/protocol-v2/issues/1211