capitalizing contract name

fixinganerror
lianahus 1 year ago
parent 50c35cf657
commit ca5048acf3
  1. 4
      apps/remix-ide-e2e/src/tests/runAndDeploy.test.ts
  2. 2
      libs/remix-ui/home-tab/src/lib/components/homeTabFile.tsx

@ -235,7 +235,7 @@ const sources = [
content:
`
pragma solidity ^0.8.0;
contract helloWorld {
contract HelloWorld {
string public message;
fallback () external {
@ -249,7 +249,7 @@ const sources = [
},
'checkBalance.sol': {
content: `pragma solidity ^0.8.0;
contract checkBalance {
contract CheckBalance {
constructor () payable {}
function sendSomeEther(uint256 num) public {

@ -126,7 +126,7 @@ function HomeTabFile({plugin}: HomeTabFileProps) {
const content = `// SPDX-License-Identifier: MIT
pragma solidity >=0.7.0 <0.9.0;
contract helloWorld {
contract HelloWorld {
function print() public pure returns (string memory) {
return "Hello World!";
}

Loading…
Cancel
Save