capitalizing contract name

pull/5370/head
lianahus 1 year ago
parent 8d6a2b2e2c
commit 05a8b13fff
  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